Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 215.7 kB / 23.03 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.77/2.77, allocations: 476.8 MB / 0.7715 GB, free: 3.934 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 66.28 kB / 1.118 GB, free: 39.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3519, allocations: 170 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.3738/0.7257, allocations: 328.5 MB / 1.605 GB, free: 1.094 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.9618/1.688, allocations: 70.67 MB / 1.674 GB, free: 56.82 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02024/1.708, allocations: 0.5727 MB / 1.675 GB, free: 56.82 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01906/1.727, allocations: 6.405 MB / 1.681 GB, free: 56.7 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.04618/1.773, allocations: 15.09 MB / 1.696 GB, free: 56.13 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02603/1.799, allocations: 10.55 MB / 1.706 GB, free: 55.84 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.09473/1.894, allocations: 76.42 MB / 1.781 GB, free: 18.79 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02305/1.917, allocations: 15.82 MB / 1.796 GB, free: 3.586 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04363/1.96, allocations: 17.87 MB / 1.813 GB, free: 2.672 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03358/1.994, allocations: 17.23 MB / 1.83 GB, free: 2.613 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.00837/2.002, allocations: 1.965 MB / 1.832 GB, free: 0.6484 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0218/2.024, allocations: 5.501 MB / 1.838 GB, free: 11.36 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.01507/2.039, allocations: 6.692 MB / 1.844 GB, free: 4.906 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.02695/2.066, allocations: 9.307 MB / 1.853 GB, free: 11.82 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.05625/2.122, allocations: 31.84 MB / 1.884 GB, free: 13.14 MB / 1.389 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/2.123, allocations: 0 / 1.884 GB, free: 13.14 MB / 1.389 GB Notification: Performance of FrontEnd: time 1.853e-06/2.123, allocations: 7.938 kB / 1.884 GB, free: 13.13 MB / 1.389 GB Notification: Performance of Transformations before backend: time 0.001099/2.124, allocations: 0 / 1.884 GB, free: 13.13 MB / 1.389 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.07319/2.197, allocations: 22.3 MB / 1.906 GB, free: 6.941 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/2.197, allocations: 11.98 kB / 1.906 GB, free: 6.93 MB / 1.404 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002738/2.197, allocations: 211.8 kB / 1.906 GB, free: 6.723 MB / 1.404 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005248/2.202, allocations: 1.054 MB / 1.907 GB, free: 5.668 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02078/2.223, allocations: 3.309 MB / 1.91 GB, free: 2.344 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06285/2.286, allocations: 23.19 MB / 1.933 GB, free: 11.42 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000855/2.287, allocations: 0.6734 MB / 1.934 GB, free: 10.75 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004832/2.292, allocations: 0.9427 MB / 1.935 GB, free: 9.816 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04338/2.335, allocations: 18.16 MB / 1.952 GB, free: 7.234 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003726/2.335, allocations: 11.94 kB / 1.952 GB, free: 7.223 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003576/2.339, allocations: 333.5 kB / 1.953 GB, free: 6.902 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004551/2.339, allocations: 367.3 kB / 1.953 GB, free: 6.543 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04707/2.387, allocations: 21.87 MB / 1.974 GB, free: 0.6602 MB / 1.467 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1511/2.538, allocations: 64.3 MB / 2.037 GB, free: 1.184 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02432/2.562, allocations: 11.69 MB / 2.049 GB, free: 5.762 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01774/2.58, allocations: 8.96 MB / 2.057 GB, free: 12.79 MB / 1.561 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.101/2.681, allocations: 29.88 MB / 2.087 GB, free: 15.01 MB / 1.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02157/2.702, allocations: 11.21 MB / 2.098 GB, free: 3.5 MB / 1.592 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03309/2.735, allocations: 8.263 MB / 2.106 GB, free: 11.44 MB / 1.607 GB Notification: Performance of pre-optimization done (n=567): time 4.353e-05/2.735, allocations: 0 / 2.106 GB, free: 11.44 MB / 1.607 GB Notification: Performance of matching and sorting (n=838): time 1.699/4.435, allocations: 217.5 MB / 2.318 GB, free: 0.6782 GB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1374/4.572, allocations: 54.31 MB / 2.371 GB, free: 0.6332 GB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03757/4.61, allocations: 20.55 MB / 2.391 GB, free: 0.6135 GB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.004768/4.614, allocations: 221.7 kB / 2.391 GB, free: 0.6132 GB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.009132/4.624, allocations: 7.875 MB / 2.399 GB, free: 0.607 GB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.008131/4.632, allocations: 3.149 MB / 2.402 GB, free: 0.6056 GB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01501/4.647, allocations: 4.004 MB / 2.406 GB, free: 0.6016 GB / 1.748 GB Notification: Performance of setup shared object (initialization): time 4.548e-05/4.647, allocations: 305.2 kB / 2.406 GB, free: 0.6013 GB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0296/4.676, allocations: 20.33 MB / 2.426 GB, free: 0.5815 GB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03316/4.71, allocations: 25.57 MB / 2.451 GB, free: 0.5549 GB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06304/4.773, allocations: 38.65 MB / 2.489 GB, free: 0.5164 GB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-05/4.773, allocations: 12 kB / 2.489 GB, free: 0.5163 GB / 1.748 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.575/5.348, allocations: 134.3 MB / 2.62 GB, free: 394.3 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 9.569e-05/5.348, allocations: 59.3 kB / 2.62 GB, free: 394.2 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-05/5.348, allocations: 52 kB / 2.62 GB, free: 394.2 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5639/5.912, allocations: 117.8 MB / 2.735 GB, free: 276.4 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01848/5.93, allocations: 3.557 MB / 2.739 GB, free: 272.9 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1462/6.076, allocations: 80.99 MB / 2.818 GB, free: 191.5 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07956/6.156, allocations: 6.445 MB / 2.824 GB, free: 185.1 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006601/6.163, allocations: 1.314 MB / 2.825 GB, free: 183.7 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03663/6.199, allocations: 23.72 MB / 2.849 GB, free: 160 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03106/6.23, allocations: 25.06 MB / 2.873 GB, free: 133.3 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05598/6.286, allocations: 37.62 MB / 2.91 GB, free: 94.86 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.509e-05/6.286, allocations: 16 kB / 2.91 GB, free: 94.85 MB / 1.748 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 1.327/7.614, allocations: 132.7 MB / 3.039 GB, free: 0.6598 GB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 8.712e-05/7.614, allocations: 56.73 kB / 3.039 GB, free: 0.6597 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.132e-05/7.614, allocations: 54.22 kB / 3.039 GB, free: 0.6597 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5636/8.177, allocations: 117.5 MB / 3.154 GB, free: 0.5842 GB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01723/8.195, allocations: 3.532 MB / 3.158 GB, free: 0.5808 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1482/8.343, allocations: 84.26 MB / 3.24 GB, free: 0.4987 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08183/8.425, allocations: 6.507 MB / 3.246 GB, free: 0.4924 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005994/8.431, allocations: 1.279 MB / 3.248 GB, free: 0.4911 GB / 1.748 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1171): * Single equations (assignments): 1151 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.007809/8.438, allocations: 0.7672 MB / 3.248 GB, free: 0.4904 GB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008597/8.447, allocations: 1.707 MB / 3.25 GB, free: 0.4897 GB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2015/8.648, allocations: 60.29 MB / 3.309 GB, free: 441.5 MB / 1.748 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2006/8.849, allocations: 66.12 MB / 3.373 GB, free: 375.5 MB / 1.748 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001873/8.849, allocations: 28 kB / 3.373 GB, free: 375.5 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1936/9.043, allocations: 65.42 MB / 3.437 GB, free: 310.2 MB / 1.748 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2796/9.322, allocations: 111.1 MB / 3.546 GB, free: 199.2 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.153e-05/9.322, allocations: 4 kB / 3.546 GB, free: 199.2 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01135/9.334, allocations: 1.977 MB / 3.548 GB, free: 197.2 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3378/9.671, allocations: 81.29 MB / 3.627 GB, free: 116.1 MB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004784/9.676, allocations: 0.5729 MB / 3.628 GB, free: 115.5 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09671/9.773, allocations: 57.92 MB / 3.684 GB, free: 57.56 MB / 1.748 GB Warning: The linear system: 1 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ -1.0 , 0.0 , -1.0 ; 0.0 , -1.0 , 1.0 ; 1.0 , 1.0 , 0.0 ] * [ valCoo.m_flow ; spl1.res1.m_flow ; valHea.m_flow ] = [ (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ; tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ] might be structurally or numerically singular for variable valHea.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1113/9.884, allocations: 51.92 MB / 3.735 GB, free: 4.863 MB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.08/10.96, allocations: 95.37 MB / 3.828 GB, free: 0.6394 GB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01986/10.98, allocations: 6.195 MB / 3.834 GB, free: 0.6351 GB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008973/10.99, allocations: 215.2 kB / 3.834 GB, free: 0.6349 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04859/11.04, allocations: 3.317 MB / 3.838 GB, free: 0.6334 GB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005869/11.05, allocations: 0.8995 MB / 3.839 GB, free: 0.6331 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004667/11.05, allocations: 0.6222 MB / 3.839 GB, free: 0.6328 GB / 1.748 GB Notification: Performance of sorting global known variables: time 0.0277/11.08, allocations: 14.34 MB / 3.853 GB, free: 0.6212 GB / 1.748 GB Notification: Performance of sort global known variables: time 1.3e-07/11.08, allocations: 0 / 3.853 GB, free: 0.6212 GB / 1.748 GB Notification: Performance of remove unused functions: time 0.09255/11.17, allocations: 38.74 MB / 3.891 GB, free: 0.5835 GB / 1.748 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],vol.p) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (621): * Single equations (assignments): 600 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,83), (1,1), (38,197)} Notification: Performance of Backend phase and start with SimCode phase: time 0.243/11.42, allocations: 96.83 MB / 3.986 GB, free: 0.491 GB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.1282/11.54, allocations: 74.12 MB / 4.058 GB, free: 428.7 MB / 1.748 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/11.54, allocations: 0 / 4.058 GB, free: 428.7 MB / 1.748 GB Notification: Performance of simCode: created simulation system equations: time 0.0506/11.59, allocations: 23.2 MB / 4.081 GB, free: 405.5 MB / 1.748 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05771/11.65, allocations: 7.993 MB / 4.088 GB, free: 397.9 MB / 1.748 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.924/14.58, allocations: 443.9 MB / 4.522 GB, free: 0.629 GB / 1.748 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01626/14.59, allocations: 10.19 MB / 4.532 GB, free: 0.6281 GB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.02949/14.62, allocations: 7.986 MB / 4.54 GB, free: 0.6275 GB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01998/14.64, allocations: 10.37 MB / 4.55 GB, free: 0.6273 GB / 1.748 GB Notification: Performance of SimCode: time 1.372e-06/14.64, allocations: 0 / 4.55 GB, free: 0.6273 GB / 1.748 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.749/16.39, allocations: 0.8406 GB / 5.39 GB, free: 0.524 GB / 1.748 GB Notification: Performance of buildModelFMU: Generate platform static: time 104.7/121.1, allocations: 12.83 kB / 5.39 GB, free: 0.524 GB / 1.748 GB " [Timeout remaining time 178] (rm -f Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 132.65192036598455] Failed to read output from testmodel.py, exit status != 0: 122.1225203149952 121.638666067 119.512132988 Calling exit ...