Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00124/0.00124, 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.001373/0.001373, allocations: 211.7 kB / 23.02 MB, free: 4.953 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.357/1.357, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.082/3.082, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_latest_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.001926/0.001926, allocations: 69.31 kB / 1.171 GB, free: 19.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.349, allocations: 179 MB / 1.345 GB, free: 15.88 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.148/1.497, allocations: 328.7 MB / 1.666 GB, free: 52.47 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.1074/1.604, allocations: 70.55 MB / 1.735 GB, free: 45.42 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01685/1.621, allocations: 0.5998 MB / 1.736 GB, free: 45.42 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.02207/1.643, allocations: 6.385 MB / 1.742 GB, free: 44.17 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.04231/1.686, allocations: 14.99 MB / 1.757 GB, free: 37.01 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02448/1.71, allocations: 10.51 MB / 1.767 GB, free: 30.43 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.07641/1.786, allocations: 56.17 MB / 1.822 GB, free: 6.656 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03636/1.823, allocations: 15.4 MB / 1.837 GB, free: 7.824 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04496/1.868, allocations: 17.84 MB / 1.854 GB, free: 6.926 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03412/1.902, allocations: 16.28 MB / 1.87 GB, free: 7.266 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.008602/1.91, allocations: 1.867 MB / 1.872 GB, free: 5.398 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02181/1.932, allocations: 5.376 MB / 1.877 GB, free: 16 kB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.01374/1.946, allocations: 6.264 MB / 1.883 GB, free: 9.73 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.02598/1.972, allocations: 8.945 MB / 1.892 GB, free: 0.7461 MB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.05942/2.031, allocations: 30.46 MB / 1.922 GB, free: 2.18 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/2.031, allocations: 3.938 kB / 1.922 GB, free: 2.176 MB / 1.404 GB Notification: Performance of FrontEnd: time 2.515e-06/2.031, allocations: 0 / 1.922 GB, free: 2.176 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.001195/2.033, allocations: 0 / 1.922 GB, free: 2.176 MB / 1.404 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1949 * Number of variables: 1949 Notification: Performance of Generate backend data structure: time 0.07374/2.106, allocations: 21.02 MB / 1.942 GB, free: 13.01 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/2.106, allocations: 8.031 kB / 1.942 GB, free: 13 MB / 1.436 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002867/2.107, allocations: 199.2 kB / 1.943 GB, free: 12.8 MB / 1.436 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005624/2.112, allocations: 1.004 MB / 1.944 GB, free: 11.79 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01928/2.132, allocations: 3.208 MB / 1.947 GB, free: 8.57 MB / 1.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05862/2.19, allocations: 22.52 MB / 1.969 GB, free: 1.902 MB / 1.451 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001102/2.191, allocations: 0.6399 MB / 1.969 GB, free: 1.262 MB / 1.451 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005674/2.197, allocations: 0.8788 MB / 1.97 GB, free: 392 kB / 1.451 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04785/2.245, allocations: 18.05 MB / 1.988 GB, free: 13.87 MB / 1.482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000389/2.245, allocations: 19.83 kB / 1.988 GB, free: 13.85 MB / 1.482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004324/2.25, allocations: 316 kB / 1.988 GB, free: 13.54 MB / 1.482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000257/2.25, allocations: 204 kB / 1.988 GB, free: 13.34 MB / 1.482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04896/2.299, allocations: 21.4 MB / 2.009 GB, free: 7.918 MB / 1.498 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.1478/2.447, allocations: 62.76 MB / 2.07 GB, free: 8.73 MB / 1.561 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0262/2.473, allocations: 12.32 MB / 2.083 GB, free: 12.69 MB / 1.576 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0186/2.491, allocations: 9.184 MB / 2.091 GB, free: 3.488 MB / 1.576 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.07495/2.566, allocations: 29.07 MB / 2.12 GB, free: 6.336 MB / 1.607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02228/2.589, allocations: 11.44 MB / 2.131 GB, free: 10.64 MB / 1.623 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02853/2.617, allocations: 8.223 MB / 2.139 GB, free: 2.414 MB / 1.623 GB Notification: Performance of pre-optimization done (n=503): time 2.629e-05/2.617, allocations: 4 kB / 2.139 GB, free: 2.41 MB / 1.623 GB Notification: Performance of matching and sorting (n=742): time 1.645/4.262, allocations: 218 MB / 2.352 GB, free: 0.6384 GB / 1.764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1077/4.37, allocations: 47.61 MB / 2.398 GB, free: 0.6019 GB / 1.764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02913/4.399, allocations: 19.74 MB / 2.418 GB, free: 0.5829 GB / 1.764 GB Notification: Performance of collectPreVariables (initialization): time 0.00425/4.403, allocations: 209.3 kB / 2.418 GB, free: 0.5827 GB / 1.764 GB Notification: Performance of collectInitialEqns (initialization): time 0.009234/4.412, allocations: 7.651 MB / 2.425 GB, free: 0.5767 GB / 1.764 GB Notification: Performance of collectInitialBindings (initialization): time 0.008594/4.421, allocations: 2.761 MB / 2.428 GB, free: 0.5755 GB / 1.764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01629/4.437, allocations: 3.8 MB / 2.432 GB, free: 0.5718 GB / 1.764 GB Notification: Performance of setup shared object (initialization): time 4.226e-05/4.437, allocations: 305.1 kB / 2.432 GB, free: 0.5715 GB / 1.764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02784/4.465, allocations: 19.48 MB / 2.451 GB, free: 0.5524 GB / 1.764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02994/4.495, allocations: 24.68 MB / 2.475 GB, free: 0.5267 GB / 1.764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05417/4.549, allocations: 37.34 MB / 2.512 GB, free: 0.4895 GB / 1.764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.331e-05/4.549, allocations: 16 kB / 2.512 GB, free: 0.4895 GB / 1.764 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.5422/5.091, allocations: 132.3 MB / 2.641 GB, free: 368.9 MB / 1.764 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-05/5.091, allocations: 61.95 kB / 2.641 GB, free: 368.8 MB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.316e-05/5.092, allocations: 52 kB / 2.641 GB, free: 368.8 MB / 1.764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5246/5.616, allocations: 117.8 MB / 2.756 GB, free: 251 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01652/5.633, allocations: 3.178 MB / 2.759 GB, free: 247.8 MB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1285/5.761, allocations: 80.94 MB / 2.838 GB, free: 166.5 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07296/5.834, allocations: 6.581 MB / 2.845 GB, free: 159.9 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00578/5.84, allocations: 1.298 MB / 2.846 GB, free: 158.6 MB / 1.764 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03511/5.875, allocations: 22.58 MB / 2.868 GB, free: 136 MB / 1.764 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03004/5.905, allocations: 24.14 MB / 2.892 GB, free: 110.3 MB / 1.764 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05234/5.957, allocations: 36.32 MB / 2.927 GB, free: 73.16 MB / 1.764 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.246e-05/5.957, allocations: 15.94 kB / 2.927 GB, free: 73.15 MB / 1.764 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 1.173/7.131, allocations: 130.7 MB / 3.055 GB, free: 0.6255 GB / 1.764 GB Notification: Performance of prepare postOptimizeDAE: time 7.406e-05/7.131, allocations: 52.83 kB / 3.055 GB, free: 0.6255 GB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.941e-05/7.131, allocations: 54.28 kB / 3.055 GB, free: 0.6255 GB / 1.764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.52/7.651, allocations: 117.5 MB / 3.17 GB, free: 0.5368 GB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01383/7.665, allocations: 3.153 MB / 3.173 GB, free: 0.5339 GB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1237/7.789, allocations: 84.21 MB / 3.255 GB, free: 462.6 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07103/7.86, allocations: 6.619 MB / 3.261 GB, free: 456 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004416/7.864, allocations: 1.27 MB / 3.263 GB, free: 454.7 MB / 1.764 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 (1043): * Single equations (assignments): 1023 * 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.004338/7.868, allocations: 0.7321 MB / 3.263 GB, free: 454 MB / 1.764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005177/7.874, allocations: 1.613 MB / 3.265 GB, free: 453.3 MB / 1.764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.182/8.056, allocations: 59.97 MB / 3.323 GB, free: 393.6 MB / 1.764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1851/8.241, allocations: 63.67 MB / 3.386 GB, free: 330.2 MB / 1.764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001287/8.241, allocations: 31.94 kB / 3.386 GB, free: 330.1 MB / 1.764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1785/8.419, allocations: 63 MB / 3.447 GB, free: 267.1 MB / 1.764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2611/8.68, allocations: 108.9 MB / 3.554 GB, free: 158.3 MB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.422e-05/8.68, allocations: 4.125 kB / 3.554 GB, free: 158.3 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01102/8.691, allocations: 2.122 MB / 3.556 GB, free: 156.2 MB / 1.764 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2866/8.978, allocations: 78.26 MB / 3.632 GB, free: 78.07 MB / 1.764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003631/8.982, allocations: 0.5378 MB / 3.633 GB, free: 77.53 MB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09347/9.075, allocations: 54.99 MB / 3.686 GB, free: 22.52 MB / 1.764 GB 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 + 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 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valHea.m_flow ; valCoo.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 ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ] might be structurally or numerically singular for variable valCoo.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. 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 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.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 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.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.7775/9.853, allocations: 46.65 MB / 3.732 GB, free: 0.6152 GB / 1.764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2263/10.08, allocations: 90.69 MB / 3.82 GB, free: 0.5861 GB / 1.764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01519/10.09, allocations: 5.583 MB / 3.826 GB, free: 0.5823 GB / 1.764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006999/10.1, allocations: 163.5 kB / 3.826 GB, free: 0.5821 GB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04704/10.15, allocations: 3.494 MB / 3.829 GB, free: 0.5799 GB / 1.764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00543/10.15, allocations: 0.8428 MB / 3.83 GB, free: 0.5791 GB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003887/10.16, allocations: 0.6197 MB / 3.831 GB, free: 0.5785 GB / 1.764 GB Notification: Performance of sorting global known variables: time 0.02396/10.18, allocations: 13.76 MB / 3.844 GB, free: 0.5651 GB / 1.764 GB Notification: Performance of sort global known variables: time 4e-07/10.18, allocations: 0 / 3.844 GB, free: 0.5651 GB / 1.764 GB Notification: Performance of remove unused functions: time 0.08197/10.26, allocations: 34.92 MB / 3.878 GB, free: 0.5312 GB / 1.764 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 42 ($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,pmpNorth.vol.dynBal.U,valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,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 (556): * Single equations (assignments): 535 * 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,166)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2283/10.49, allocations: 92.27 MB / 3.968 GB, free: 452.6 MB / 1.764 GB Notification: Performance of simCode: created initialization part: time 0.1255/10.62, allocations: 69.51 MB / 4.036 GB, free: 383 MB / 1.764 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/10.62, allocations: 4 kB / 4.036 GB, free: 383 MB / 1.764 GB Notification: Performance of simCode: created simulation system equations: time 0.0494/10.67, allocations: 22.13 MB / 4.058 GB, free: 360.9 MB / 1.764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06525/10.73, allocations: 8.096 MB / 4.066 GB, free: 353.2 MB / 1.764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.6/13.33, allocations: 424.6 MB / 4.481 GB, free: 0.596 GB / 1.764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01215/13.34, allocations: 9.632 MB / 4.49 GB, free: 0.5921 GB / 1.764 GB Notification: Performance of simCode: alias equations: time 0.02568/13.37, allocations: 6.807 MB / 4.497 GB, free: 0.5901 GB / 1.764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01881/13.39, allocations: 10.04 MB / 4.506 GB, free: 0.5869 GB / 1.764 GB Notification: Performance of SimCode: time 1.192e-06/13.39, allocations: 0 / 4.506 GB, free: 0.5869 GB / 1.764 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.624/15.01, allocations: 0.8088 GB / 5.315 GB, free: 0.4886 GB / 1.764 GB Notification: Performance of buildModelFMU: Generate platform static: time 96.06/111.1, allocations: 8 kB / 5.315 GB, free: 0.4886 GB / 1.764 GB " [Timeout remaining time 188] (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 121.86425912601408] Failed to read output from testmodel.py, exit status != 0: 111.6001623510383 111.610689156 109.576278069 Calling exit ...