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.00149/0.00149, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001621/0.001621, allocations: 209.6 kB / 22.24 MB, free: 5.262 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.365/1.365, allocations: 230.6 MB / 256 MB, free: 7.781 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.03/3.03, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",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.001935/0.001935, allocations: 72.69 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3057, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9751/1.281, allocations: 329 MB / 1.685 GB, free: 49.27 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.08359/1.364, allocations: 70.67 MB / 1.754 GB, free: 33.76 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01447/1.379, allocations: 0.5992 MB / 1.754 GB, free: 33.76 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.0162/1.395, allocations: 6.37 MB / 1.761 GB, free: 30.79 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03405/1.429, allocations: 14.95 MB / 1.775 GB, free: 19.61 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02107/1.45, allocations: 10.46 MB / 1.785 GB, free: 12.02 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.06726/1.517, allocations: 56.01 MB / 1.84 GB, free: 14.03 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0253/1.543, allocations: 15.37 MB / 1.855 GB, free: 14.51 MB / 1.357 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03695/1.58, allocations: 18.36 MB / 1.873 GB, free: 12.13 MB / 1.373 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02938/1.609, allocations: 15.95 MB / 1.889 GB, free: 12.12 MB / 1.389 GB Notification: Performance of NFPackage.collectConstants: time 0.006921/1.616, allocations: 1.75 MB / 1.89 GB, free: 10.37 MB / 1.389 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01776/1.634, allocations: 5.13 MB / 1.895 GB, free: 5.234 MB / 1.389 GB Notification: Performance of NFScalarize.scalarize: time 0.009596/1.643, allocations: 6.101 MB / 1.901 GB, free: 15.11 MB / 1.404 GB Notification: Performance of NFVerifyModel.verify: time 0.01873/1.662, allocations: 8.781 MB / 1.91 GB, free: 6.293 MB / 1.404 GB Notification: Performance of NFConvertDAE.convert: time 0.04595/1.708, allocations: 29.72 MB / 1.939 GB, free: 8.473 MB / 1.436 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/1.708, allocations: 0 / 1.939 GB, free: 8.473 MB / 1.436 GB Notification: Performance of FrontEnd: time 1.783e-06/1.708, allocations: 0 / 1.939 GB, free: 8.473 MB / 1.436 GB Notification: Performance of Transformations before backend: time 0.0007689/1.709, allocations: 0 / 1.939 GB, free: 8.473 MB / 1.436 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.05501/1.764, allocations: 20.8 MB / 1.959 GB, free: 3.504 MB / 1.451 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.764, allocations: 12.03 kB / 1.959 GB, free: 3.492 MB / 1.451 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004093/1.768, allocations: 1 MB / 1.96 GB, free: 2.48 MB / 1.451 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01672/1.785, allocations: 3.208 MB / 1.963 GB, free: 15.25 MB / 1.467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04817/1.833, allocations: 21.44 MB / 1.984 GB, free: 9.668 MB / 1.482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007655/1.834, allocations: 0.6477 MB / 1.985 GB, free: 9.02 MB / 1.482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004125/1.838, allocations: 0.8748 MB / 1.986 GB, free: 8.145 MB / 1.482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04072/1.878, allocations: 18.06 MB / 2.003 GB, free: 5.625 MB / 1.498 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002893/1.879, allocations: 7.938 kB / 2.003 GB, free: 5.617 MB / 1.498 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002891/1.882, allocations: 320 kB / 2.004 GB, free: 5.305 MB / 1.498 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000203/1.882, allocations: 211.9 kB / 2.004 GB, free: 5.098 MB / 1.498 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04194/1.924, allocations: 21.38 MB / 2.025 GB, free: 15.7 MB / 1.529 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.1317/2.055, allocations: 62.65 MB / 2.086 GB, free: 424 kB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02507/2.08, allocations: 12.32 MB / 2.098 GB, free: 4.371 MB / 1.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01738/2.098, allocations: 9.192 MB / 2.107 GB, free: 11.16 MB / 1.607 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.06741/2.165, allocations: 29.01 MB / 2.135 GB, free: 14.07 MB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02105/2.186, allocations: 11.44 MB / 2.146 GB, free: 2.375 MB / 1.639 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02867/2.215, allocations: 8.219 MB / 2.154 GB, free: 10.14 MB / 1.654 GB Notification: Performance of pre-optimization done (n=503): time 2.214e-05/2.215, allocations: 0 / 2.154 GB, free: 10.14 MB / 1.654 GB Notification: Performance of matching and sorting (n=742): time 1.486/3.701, allocations: 218 MB / 2.367 GB, free: 0.6343 GB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1061/3.807, allocations: 47.6 MB / 2.414 GB, free: 0.5954 GB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02414/3.831, allocations: 19.53 MB / 2.433 GB, free: 0.5767 GB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.003025/3.834, allocations: 201.7 kB / 2.433 GB, free: 0.5765 GB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.005476/3.84, allocations: 7.663 MB / 2.441 GB, free: 0.5705 GB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.005941/3.846, allocations: 2.765 MB / 2.443 GB, free: 0.5691 GB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006601/3.852, allocations: 3.774 MB / 2.447 GB, free: 0.5654 GB / 1.779 GB Notification: Performance of setup shared object (initialization): time 3.041e-05/3.852, allocations: 301.1 kB / 2.447 GB, free: 0.5651 GB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02521/3.878, allocations: 19.5 MB / 2.466 GB, free: 0.5461 GB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02772/3.905, allocations: 24.43 MB / 2.49 GB, free: 0.5207 GB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0511/3.956, allocations: 37.37 MB / 2.527 GB, free: 495 MB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.437e-05/3.956, allocations: 16 kB / 2.527 GB, free: 495 MB / 1.779 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.5635/4.52, allocations: 132.3 MB / 2.656 GB, free: 362.6 MB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-05/4.52, allocations: 65.72 kB / 2.656 GB, free: 362.6 MB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.362e-05/4.52, allocations: 52 kB / 2.656 GB, free: 362.5 MB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.558/5.078, allocations: 117.8 MB / 2.771 GB, free: 244.8 MB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01541/5.093, allocations: 3.162 MB / 2.774 GB, free: 241.6 MB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.141/5.234, allocations: 80.94 MB / 2.853 GB, free: 160.3 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08432/5.319, allocations: 6.573 MB / 2.86 GB, free: 153.7 MB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004966/5.324, allocations: 1.294 MB / 2.861 GB, free: 152.4 MB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03487/5.359, allocations: 22.58 MB / 2.883 GB, free: 129.8 MB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02929/5.388, allocations: 23.9 MB / 2.906 GB, free: 104.4 MB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05191/5.44, allocations: 36.32 MB / 2.942 GB, free: 67.28 MB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.066e-05/5.44, allocations: 16 kB / 2.942 GB, free: 67.26 MB / 1.779 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 1.169/6.609, allocations: 130.7 MB / 3.069 GB, free: 0.6232 GB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 8.011e-05/6.609, allocations: 66.5 kB / 3.07 GB, free: 0.6232 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.302e-05/6.609, allocations: 52.47 kB / 3.07 GB, free: 0.6232 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.549/7.158, allocations: 117.5 MB / 3.184 GB, free: 0.5326 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01355/7.171, allocations: 3.152 MB / 3.187 GB, free: 0.5296 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.135/7.306, allocations: 84.19 MB / 3.27 GB, free: 458.3 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0839/7.39, allocations: 6.615 MB / 3.276 GB, free: 451.6 MB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004824/7.395, allocations: 1.271 MB / 3.277 GB, free: 450.4 MB / 1.779 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.006466/7.402, allocations: 0.711 MB / 3.278 GB, free: 449.7 MB / 1.779 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006406/7.408, allocations: 1.62 MB / 3.28 GB, free: 449 MB / 1.779 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1971/7.605, allocations: 59.98 MB / 3.338 GB, free: 389.3 MB / 1.779 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2/7.805, allocations: 63.66 MB / 3.4 GB, free: 325.8 MB / 1.779 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-05/7.805, allocations: 28 kB / 3.4 GB, free: 325.7 MB / 1.779 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2022/8.007, allocations: 63.01 MB / 3.462 GB, free: 262.7 MB / 1.779 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.281/8.288, allocations: 108.9 MB / 3.568 GB, free: 154 MB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.529e-05/8.288, allocations: 0 / 3.568 GB, free: 154 MB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0107/8.299, allocations: 2.137 MB / 3.57 GB, free: 151.8 MB / 1.779 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3103/8.609, allocations: 78.26 MB / 3.647 GB, free: 73.68 MB / 1.779 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003415/8.613, allocations: 0.5338 MB / 3.647 GB, free: 73.14 MB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09474/8.708, allocations: 55.01 MB / 3.701 GB, free: 18.12 MB / 1.779 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.6951/9.403, allocations: 46.63 MB / 3.747 GB, free: 0.6144 GB / 1.779 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2419/9.645, allocations: 90.7 MB / 3.835 GB, free: 0.5835 GB / 1.779 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0157/9.66, allocations: 5.577 MB / 3.841 GB, free: 0.579 GB / 1.779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005893/9.666, allocations: 160 kB / 3.841 GB, free: 0.5788 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04862/9.715, allocations: 3.477 MB / 3.844 GB, free: 0.5759 GB / 1.779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004168/9.719, allocations: 0.8449 MB / 3.845 GB, free: 0.5751 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003117/9.722, allocations: 0.6158 MB / 3.846 GB, free: 0.5745 GB / 1.779 GB Notification: Performance of sorting global known variables: time 0.02081/9.743, allocations: 13.54 MB / 3.859 GB, free: 0.5613 GB / 1.779 GB Notification: Performance of sort global known variables: time 1.9e-07/9.743, allocations: 0 / 3.859 GB, free: 0.5613 GB / 1.779 GB Notification: Performance of remove unused functions: time 0.06985/9.813, allocations: 34.87 MB / 3.893 GB, free: 0.5274 GB / 1.779 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.24/10.05, allocations: 92.23 MB / 3.983 GB, free: 448.6 MB / 1.779 GB Notification: Performance of simCode: created initialization part: time 0.1166/10.17, allocations: 69.43 MB / 4.051 GB, free: 379.1 MB / 1.779 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/10.17, allocations: 6 kB / 4.051 GB, free: 379.1 MB / 1.779 GB Notification: Performance of simCode: created simulation system equations: time 0.04991/10.22, allocations: 22.11 MB / 4.072 GB, free: 357 MB / 1.779 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05114/10.27, allocations: 8.102 MB / 4.08 GB, free: 349.1 MB / 1.779 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.536/12.81, allocations: 424 MB / 4.494 GB, free: 0.5957 GB / 1.779 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0177/12.82, allocations: 9.63 MB / 4.504 GB, free: 0.5918 GB / 1.779 GB Notification: Performance of simCode: alias equations: time 0.02896/12.85, allocations: 6.781 MB / 4.51 GB, free: 0.5899 GB / 1.779 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02102/12.87, allocations: 10.05 MB / 4.52 GB, free: 0.5861 GB / 1.779 GB Notification: Performance of SimCode: time 1.663e-06/12.87, allocations: 4 kB / 4.52 GB, free: 0.5861 GB / 1.779 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.496/14.37, allocations: 0.8091 GB / 5.329 GB, free: 498.9 MB / 1.779 GB Notification: Performance of buildModelFMU: Generate platform static: time 71.31/85.68, allocations: 5.312 kB / 5.329 GB, free: 498.9 MB / 1.779 GB " [Timeout remaining time 214] (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: 96.11169286305085] Failed to read output from testmodel.py, exit status != 0: 86.15583244198933 86.171361307 84.460065058 Calling exit ...