Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008696/0.0008696, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008521/0.0008521, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.922/0.922, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.696/1.696, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.9506 GB, free: 3.406 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.472e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.402 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.7469/0.747, allocations: 326.1 MB / 1.269 GB, free: 10.14 MB / 1.073 GB Notification: Performance of NFInst.instExpressions: time 0.08228/0.8292, allocations: 70.86 MB / 1.338 GB, free: 3.137 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01547/0.8447, allocations: 0.5926 MB / 1.339 GB, free: 2.539 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 0.01849/0.8632, allocations: 6.465 MB / 1.345 GB, free: 12.04 MB / 1.151 GB Notification: Performance of NFTyping.typeBindings: time 0.03386/0.8971, allocations: 15.48 MB / 1.36 GB, free: 12.49 MB / 1.167 GB Notification: Performance of NFTyping.typeClassSections: time 0.02109/0.9181, allocations: 10.89 MB / 1.371 GB, free: 1.68 MB / 1.167 GB Notification: Performance of NFFlatten.flatten: time 0.08063/0.9988, allocations: 87.02 MB / 1.456 GB, free: 10.48 MB / 1.26 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02192/1.021, allocations: 15.9 MB / 1.471 GB, free: 10.42 MB / 1.276 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05189/1.073, allocations: 23.45 MB / 1.494 GB, free: 2.941 MB / 1.292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02406/1.097, allocations: 15.64 MB / 1.51 GB, free: 3.262 MB / 1.307 GB Notification: Performance of NFPackage.collectConstants: time 0.005313/1.102, allocations: 1.836 MB / 1.511 GB, free: 1.426 MB / 1.307 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01422/1.116, allocations: 5.065 MB / 1.516 GB, free: 12.35 MB / 1.323 GB Notification: Performance of NFScalarize.scalarize: time 0.006198/1.122, allocations: 6.65 MB / 1.523 GB, free: 5.68 MB / 1.323 GB Notification: Performance of NFVerifyModel.verify: time 0.01374/1.136, allocations: 7.743 MB / 1.53 GB, free: 13.92 MB / 1.339 GB Notification: Performance of NFConvertDAE.convert: time 1.157/2.293, allocations: 31.87 MB / 1.561 GB, free: 156.5 MB / 1.354 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/2.293, allocations: 0 / 1.561 GB, free: 156.5 MB / 1.354 GB Notification: Performance of FrontEnd: time 1.683e-06/2.293, allocations: 0 / 1.561 GB, free: 156.5 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.001434/2.295, allocations: 0 / 1.561 GB, free: 156.5 MB / 1.354 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.04225/2.337, allocations: 21.7 MB / 1.583 GB, free: 148.3 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/2.337, allocations: 13.55 kB / 1.583 GB, free: 148.3 MB / 1.354 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001703/2.339, allocations: 1.049 MB / 1.584 GB, free: 148.2 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009601/2.348, allocations: 3.345 MB / 1.587 GB, free: 147.1 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03884/2.387, allocations: 22.96 MB / 1.609 GB, free: 143.6 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005771/2.388, allocations: 0.6661 MB / 1.61 GB, free: 143.6 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00325/2.391, allocations: 0.9358 MB / 1.611 GB, free: 143.6 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03038/2.421, allocations: 18.18 MB / 1.629 GB, free: 141.6 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001446/2.421, allocations: 10.72 kB / 1.629 GB, free: 141.6 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/2.423, allocations: 333.1 kB / 1.629 GB, free: 141.6 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000292/2.423, allocations: 366.6 kB / 1.629 GB, free: 141.6 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02548/2.448, allocations: 21.85 MB / 1.651 GB, free: 141.6 MB / 1.354 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.07767/2.526, allocations: 63.92 MB / 1.713 GB, free: 124.8 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/2.537, allocations: 11.69 MB / 1.725 GB, free: 124.6 MB / 1.354 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007799/2.545, allocations: 8.969 MB / 1.733 GB, free: 122.4 MB / 1.354 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.03554/2.581, allocations: 29.58 MB / 1.762 GB, free: 99.79 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008376/2.589, allocations: 11.23 MB / 1.773 GB, free: 88.27 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01565/2.605, allocations: 8.209 MB / 1.781 GB, free: 80.31 MB / 1.354 GB Notification: Performance of pre-optimization done (n=567): time 2.626e-05/2.605, allocations: 0 / 1.781 GB, free: 80.31 MB / 1.354 GB Notification: Performance of matching and sorting (n=838): time 0.4886/3.093, allocations: 217.6 MB / 1.994 GB, free: 6.172 MB / 1.495 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07708/3.171, allocations: 54.33 MB / 2.047 GB, free: 15.02 MB / 1.557 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02179/3.192, allocations: 20.09 MB / 2.066 GB, free: 11.04 MB / 1.573 GB Notification: Performance of collectPreVariables (initialization): time 0.003545/3.196, allocations: 221.7 kB / 2.066 GB, free: 10.82 MB / 1.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00549/3.201, allocations: 8.214 MB / 2.075 GB, free: 2.617 MB / 1.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005517/3.207, allocations: 3.089 MB / 2.078 GB, free: 15.56 MB / 1.589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004862/3.212, allocations: 3.524 MB / 2.081 GB, free: 12.03 MB / 1.589 GB Notification: Performance of setup shared object (initialization): time 7.445e-05/3.212, allocations: 305.1 kB / 2.081 GB, free: 11.73 MB / 1.589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02004/3.232, allocations: 19.42 MB / 2.1 GB, free: 8.281 MB / 1.604 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02352/3.255, allocations: 24.28 MB / 2.124 GB, free: 14.49 MB / 1.636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4736/3.729, allocations: 37 MB / 2.16 GB, free: 0.7034 GB / 1.651 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.318e-05/3.729, allocations: 14.38 kB / 2.16 GB, free: 0.7034 GB / 1.651 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.3372/4.066, allocations: 132.2 MB / 2.289 GB, free: 0.6613 GB / 1.651 GB Notification: Performance of prepare postOptimizeDAE: time 6.869e-05/4.066, allocations: 61.69 kB / 2.289 GB, free: 0.6613 GB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.477e-05/4.066, allocations: 52 kB / 2.289 GB, free: 0.6612 GB / 1.651 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3015/4.368, allocations: 117.8 MB / 2.404 GB, free: 0.5466 GB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/4.378, allocations: 3.354 MB / 2.408 GB, free: 0.5433 GB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08342/4.461, allocations: 80.99 MB / 2.487 GB, free: 475.3 MB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04744/4.509, allocations: 6.413 MB / 2.493 GB, free: 468.9 MB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0042/4.513, allocations: 1.271 MB / 2.494 GB, free: 467.6 MB / 1.651 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02413/4.537, allocations: 22.83 MB / 2.517 GB, free: 444.7 MB / 1.651 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0181/4.555, allocations: 23.75 MB / 2.54 GB, free: 419.4 MB / 1.651 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03315/4.588, allocations: 35.97 MB / 2.575 GB, free: 382.7 MB / 1.651 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.185e-05/4.588, allocations: 16 kB / 2.575 GB, free: 382.7 MB / 1.651 GB Notification: Performance of matching and sorting (n=1355) (initialization_lambda0): time 0.3085/4.897, allocations: 130.6 MB / 2.702 GB, free: 253 MB / 1.651 GB Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/4.897, allocations: 57.69 kB / 2.703 GB, free: 253 MB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-05/4.897, allocations: 52.91 kB / 2.703 GB, free: 252.9 MB / 1.651 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2976/5.194, allocations: 117.5 MB / 2.817 GB, free: 135.8 MB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008778/5.203, allocations: 3.334 MB / 2.821 GB, free: 132.4 MB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08701/5.29, allocations: 84.25 MB / 2.903 GB, free: 48.29 MB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04647/5.337, allocations: 6.459 MB / 2.909 GB, free: 41.83 MB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003458/5.34, allocations: 1.239 MB / 2.91 GB, free: 40.59 MB / 1.651 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 233 * 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 (1035): * Single equations (assignments): 1019 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * 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.003365/5.344, allocations: 0.7283 MB / 2.911 GB, free: 39.89 MB / 1.651 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00425/5.348, allocations: 1.745 MB / 2.913 GB, free: 39.01 MB / 1.651 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6087/5.957, allocations: 60.38 MB / 2.972 GB, free: 0.6885 GB / 1.651 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1273/6.084, allocations: 66.11 MB / 3.036 GB, free: 0.6781 GB / 1.651 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.293e-05/6.084, allocations: 27.03 kB / 3.036 GB, free: 0.6781 GB / 1.651 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.112/6.196, allocations: 65.43 MB / 3.1 GB, free: 0.6328 GB / 1.651 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1575/6.353, allocations: 111.1 MB / 3.209 GB, free: 0.5248 GB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.931e-05/6.353, allocations: 8.125 kB / 3.209 GB, free: 0.5248 GB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00669/6.36, allocations: 1.973 MB / 3.211 GB, free: 0.5228 GB / 1.651 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1719/6.532, allocations: 81.28 MB / 3.29 GB, free: 454.5 MB / 1.651 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003225/6.535, allocations: 0.569 MB / 3.291 GB, free: 454 MB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0617/6.597, allocations: 57.92 MB / 3.347 GB, free: 396.1 MB / 1.651 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.05672/6.654, allocations: 51.94 MB / 3.398 GB, free: 343.5 MB / 1.651 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1396/6.793, allocations: 95.41 MB / 3.491 GB, free: 249.1 MB / 1.651 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01535/6.809, allocations: 6.152 MB / 3.497 GB, free: 243.9 MB / 1.651 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005842/6.814, allocations: 219.9 kB / 3.497 GB, free: 243.7 MB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02895/6.843, allocations: 3.311 MB / 3.5 GB, free: 240.4 MB / 1.651 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003375/6.847, allocations: 0.9002 MB / 3.501 GB, free: 239.5 MB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001436/6.848, allocations: 0.6315 MB / 3.502 GB, free: 238.8 MB / 1.651 GB Notification: Performance of sorting global known variables: time 0.01606/6.864, allocations: 14.08 MB / 3.516 GB, free: 224.9 MB / 1.651 GB Notification: Performance of sort global known variables: time 4.51e-07/6.864, allocations: 0 / 3.516 GB, free: 224.9 MB / 1.651 GB Notification: Performance of remove unused functions: time 0.05859/6.923, allocations: 38.38 MB / 3.553 GB, free: 186.5 MB / 1.651 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.1561/7.079, allocations: 96.72 MB / 3.648 GB, free: 90.25 MB / 1.651 GB Notification: Performance of simCode: created initialization part: time 0.08175/7.161, allocations: 71.93 MB / 3.718 GB, free: 18.28 MB / 1.651 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/7.161, allocations: 6 kB / 3.718 GB, free: 18.27 MB / 1.651 GB Notification: Performance of simCode: created simulation system equations: time 0.4782/7.639, allocations: 23.16 MB / 3.741 GB, free: 0.702 GB / 1.651 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04281/7.682, allocations: 8.416 MB / 3.749 GB, free: 0.7012 GB / 1.651 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9408/8.622, allocations: 431.3 MB / 4.17 GB, free: 373.5 MB / 1.651 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01685/8.639, allocations: 10.3 MB / 4.18 GB, free: 363.1 MB / 1.651 GB Notification: Performance of simCode: alias equations: time 0.03442/8.674, allocations: 7.908 MB / 4.188 GB, free: 355.2 MB / 1.651 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02271/8.696, allocations: 10.49 MB / 4.198 GB, free: 344.7 MB / 1.651 GB Notification: Performance of SimCode: time 2.335e-06/8.696, allocations: 4 kB / 4.198 GB, free: 344.7 MB / 1.651 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.328/10.02, allocations: 0.8459 GB / 5.044 GB, free: 261.4 MB / 1.651 GB Notification: Performance of buildModelFMU: Generate platform static: time 57.8/67.82, allocations: 11.88 kB / 5.044 GB, free: 261.4 MB / 1.651 GB " [Timeout remaining time 232] (rm -f Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 74.73089190945029] Failed to read output from testmodel.py, exit status != 0: 68.21499317325652 68.224462224 65.92960094 Calling exit ...