Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 108.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 443.5 MB / 0.7287 GB, free: 13.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.89 kB / 1.056 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7273/0.7292, allocations: 160.7 MB / 1.213 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.3925/1.122, allocations: 360.4 MB / 1.565 GB, free: 14.64 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.9029/2.025, allocations: 75.99 MB / 1.639 GB, free: 62.4 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01524/2.04, allocations: 432 kB / 1.64 GB, free: 62.4 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.01642/2.056, allocations: 6.623 MB / 1.646 GB, free: 62.38 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.03649/2.093, allocations: 14.75 MB / 1.66 GB, free: 61.9 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.02132/2.114, allocations: 10.22 MB / 1.67 GB, free: 61.56 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.07988/2.194, allocations: 74.43 MB / 1.743 GB, free: 56.03 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02347/2.217, allocations: 17.39 MB / 1.76 GB, free: 44.4 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03148/2.249, allocations: 17.48 MB / 1.777 GB, free: 29.09 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02424/2.273, allocations: 17.21 MB / 1.794 GB, free: 13.06 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.00709/2.28, allocations: 1.971 MB / 1.796 GB, free: 11.09 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01961/2.3, allocations: 6.156 MB / 1.802 GB, free: 5.215 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.01321/2.313, allocations: 6.67 MB / 1.808 GB, free: 14.79 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.02939/2.342, allocations: 11.29 MB / 1.819 GB, free: 3.699 MB / 1.326 GB Notification: Performance of NFConvertDAE.convert: time 0.05579/2.398, allocations: 31.53 MB / 1.85 GB, free: 5.312 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/2.398, allocations: 0 / 1.85 GB, free: 5.312 MB / 1.357 GB Notification: Performance of FrontEnd: time 1.613e-06/2.398, allocations: 0 / 1.85 GB, free: 5.312 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0008878/2.399, allocations: 0 / 1.85 GB, free: 5.312 MB / 1.357 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.07231/2.471, allocations: 22.35 MB / 1.872 GB, free: 15.06 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 6.078e-05/2.472, allocations: 13.34 kB / 1.872 GB, free: 15.05 MB / 1.389 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005807/2.477, allocations: 1.052 MB / 1.873 GB, free: 14 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01905/2.496, allocations: 3.301 MB / 1.876 GB, free: 10.68 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05836/2.555, allocations: 23.19 MB / 1.899 GB, free: 3.809 MB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008498/2.556, allocations: 0.6725 MB / 1.9 GB, free: 3.145 MB / 1.404 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005046/2.561, allocations: 0.9356 MB / 1.901 GB, free: 2.215 MB / 1.404 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04471/2.605, allocations: 17.22 MB / 1.917 GB, free: 0.7969 MB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003662/2.606, allocations: 19.83 kB / 1.917 GB, free: 0.7773 MB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003672/2.609, allocations: 325.6 kB / 1.918 GB, free: 476 kB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004568/2.61, allocations: 371.3 kB / 1.918 GB, free: 104 kB / 1.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04748/2.657, allocations: 21.86 MB / 1.939 GB, free: 10.23 MB / 1.451 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.1679/2.825, allocations: 82.37 MB / 2.02 GB, free: 5.273 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02577/2.851, allocations: 11.86 MB / 2.031 GB, free: 9.66 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01798/2.869, allocations: 8.954 MB / 2.04 GB, free: 0.6914 MB / 1.545 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.08694/2.956, allocations: 34.3 MB / 2.074 GB, free: 14.05 MB / 1.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0213/2.977, allocations: 10.27 MB / 2.084 GB, free: 3.707 MB / 1.592 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03062/3.008, allocations: 8.262 MB / 2.092 GB, free: 11.62 MB / 1.607 GB Notification: Performance of pre-optimization done (n=567): time 2.814e-05/3.008, allocations: 0 / 2.092 GB, free: 11.62 MB / 1.607 GB Notification: Performance of matching and sorting (n=838): time 1.608/4.616, allocations: 217.6 MB / 2.304 GB, free: 0.7233 GB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1423/4.758, allocations: 55.86 MB / 2.359 GB, free: 0.6844 GB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03406/4.792, allocations: 20.5 MB / 2.379 GB, free: 0.6647 GB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.004221/4.797, allocations: 229.6 kB / 2.379 GB, free: 0.6645 GB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.009473/4.806, allocations: 7.877 MB / 2.387 GB, free: 0.6583 GB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.008432/4.815, allocations: 3.152 MB / 2.39 GB, free: 0.6568 GB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01614/4.831, allocations: 4 MB / 2.394 GB, free: 0.6529 GB / 1.748 GB Notification: Performance of setup shared object (initialization): time 4.557e-05/4.831, allocations: 305.1 kB / 2.394 GB, free: 0.6526 GB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02822/4.859, allocations: 20.27 MB / 2.414 GB, free: 0.6327 GB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03097/4.89, allocations: 23.1 MB / 2.436 GB, free: 0.6092 GB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05676/4.947, allocations: 38.6 MB / 2.474 GB, free: 0.5707 GB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.584e-05/4.947, allocations: 16 kB / 2.474 GB, free: 0.5707 GB / 1.748 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5823/5.529, allocations: 134.2 MB / 2.605 GB, free: 450 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/5.529, allocations: 53.7 kB / 2.605 GB, free: 450 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/5.529, allocations: 52 kB / 2.605 GB, free: 449.9 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5417/6.071, allocations: 118 MB / 2.72 GB, free: 332 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01782/6.089, allocations: 3.557 MB / 2.724 GB, free: 328.5 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1344/6.223, allocations: 81.92 MB / 2.804 GB, free: 246.2 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07643/6.3, allocations: 6.455 MB / 2.81 GB, free: 239.7 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006045/6.306, allocations: 1.314 MB / 2.811 GB, free: 238.4 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03795/6.344, allocations: 23.66 MB / 2.835 GB, free: 214.7 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02931/6.373, allocations: 22.59 MB / 2.857 GB, free: 191.1 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05402/6.427, allocations: 37.58 MB / 2.893 GB, free: 152.7 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.049e-05/6.427, allocations: 12 kB / 2.893 GB, free: 152.7 MB / 1.748 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5663/6.994, allocations: 132.6 MB / 3.023 GB, free: 19.92 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 7.783e-05/6.994, allocations: 59.89 kB / 3.023 GB, free: 19.86 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-05/6.994, allocations: 52 kB / 3.023 GB, free: 19.81 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314/8.307, allocations: 117.6 MB / 3.138 GB, free: 0.6774 GB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01724/8.325, allocations: 3.536 MB / 3.141 GB, free: 0.674 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2202/8.545, allocations: 86.18 MB / 3.225 GB, free: 0.5898 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1178/8.663, allocations: 6.493 MB / 3.232 GB, free: 0.5835 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008629/8.671, allocations: 1.286 MB / 3.233 GB, free: 0.5822 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.0121/8.683, allocations: 0.7581 MB / 3.234 GB, free: 0.5815 GB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01133/8.695, allocations: 1.701 MB / 3.235 GB, free: 0.5808 GB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1986/8.893, allocations: 60.27 MB / 3.294 GB, free: 0.5222 GB / 1.748 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2029/9.096, allocations: 66.08 MB / 3.359 GB, free: 468.9 MB / 1.748 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001376/9.096, allocations: 28 kB / 3.359 GB, free: 468.9 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1917/9.288, allocations: 65.4 MB / 3.423 GB, free: 403.6 MB / 1.748 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2865/9.574, allocations: 129.7 MB / 3.549 GB, free: 274.1 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000101/9.575, allocations: 0 / 3.549 GB, free: 274.1 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01156/9.586, allocations: 1.981 MB / 3.551 GB, free: 272.1 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3004/9.886, allocations: 81.39 MB / 3.631 GB, free: 190.8 MB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005772/9.892, allocations: 0.5651 MB / 3.631 GB, free: 190.2 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09383/9.986, allocations: 58.58 MB / 3.689 GB, free: 131.6 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.108/10.09, allocations: 54.06 MB / 3.741 GB, free: 76.39 MB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.035/11.13, allocations: 95.33 MB / 3.834 GB, free: 0.6859 GB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02457/11.15, allocations: 6.107 MB / 3.84 GB, free: 0.6843 GB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009982/11.16, allocations: 211.7 kB / 3.841 GB, free: 0.6842 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0487/11.21, allocations: 3.323 MB / 3.844 GB, free: 0.6841 GB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005936/11.22, allocations: 0.8645 MB / 3.845 GB, free: 0.684 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004242/11.22, allocations: 0.6314 MB / 3.845 GB, free: 0.6839 GB / 1.748 GB Notification: Performance of sorting global known variables: time 0.03003/11.25, allocations: 14.3 MB / 3.859 GB, free: 0.6792 GB / 1.748 GB Notification: Performance of sort global known variables: time 4.81e-07/11.25, allocations: 3.312 kB / 3.859 GB, free: 0.6792 GB / 1.748 GB Notification: Performance of remove unused functions: time 0.09429/11.35, allocations: 38.73 MB / 3.897 GB, free: 0.6746 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.2484/11.6, allocations: 96.84 MB / 3.992 GB, free: 0.6031 GB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.1333/11.73, allocations: 74.01 MB / 4.064 GB, free: 0.5312 GB / 1.748 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/11.73, allocations: 7.75 kB / 4.064 GB, free: 0.5312 GB / 1.748 GB Notification: Performance of simCode: created simulation system equations: time 0.05199/11.78, allocations: 23.18 MB / 4.087 GB, free: 0.509 GB / 1.748 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06186/11.84, allocations: 7.974 MB / 4.094 GB, free: 0.5019 GB / 1.748 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.493/13.34, allocations: 443.6 MB / 4.528 GB, free: 68.77 MB / 1.748 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01945/13.36, allocations: 10.46 MB / 4.538 GB, free: 58.27 MB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.03458/13.39, allocations: 7.987 MB / 4.546 GB, free: 50.27 MB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02142/13.41, allocations: 10.36 MB / 4.556 GB, free: 39.89 MB / 1.748 GB Notification: Performance of SimCode: time 1.222e-06/13.41, allocations: 0 / 4.556 GB, free: 39.89 MB / 1.748 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.185/16.6, allocations: 0.8148 GB / 5.37 GB, free: 0.6611 GB / 1.748 GB Notification: Performance of buildModelFMU: Generate platform static: time 117.8/134.4, allocations: 8.875 kB / 5.371 GB, free: 0.6611 GB / 1.748 GB " [Timeout remaining time 165] (rm -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 144.9187430641614] Failed to read output from testmodel.py, exit status != 0: 134.83312018122524 134.845521431 132.444209463 Calling exit ...