Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008646/0.0008646, 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.0009501/0.0009501, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8822/0.8822, 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/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001405/0.001405, allocations: 245.8 kB / 259.4 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6547/0.6547, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 3.938 kB / 0.6464 GB, free: 1.793 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.349e-05, allocations: 6.219 kB / 0.6464 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.7367/0.7367, allocations: 325.9 MB / 0.9646 GB, free: 52.71 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.07672/0.8134, allocations: 70.81 MB / 1.034 GB, free: 50.37 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0147/0.8281, allocations: 0.5783 MB / 1.034 GB, free: 50.37 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.01264/0.8408, allocations: 6.465 MB / 1.041 GB, free: 48.76 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0299/0.8707, allocations: 15.44 MB / 1.056 GB, free: 40.27 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.018/0.8887, allocations: 10.89 MB / 1.066 GB, free: 33.76 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0688/0.9575, allocations: 86.84 MB / 1.151 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01724/0.9747, allocations: 15.84 MB / 1.167 GB, free: 10.97 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03961/1.014, allocations: 23.33 MB / 1.189 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02163/1.036, allocations: 15.61 MB / 1.205 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.004306/1.04, allocations: 1.832 MB / 1.206 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0128/1.053, allocations: 5.066 MB / 1.211 GB, free: 224 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.006692/1.06, allocations: 6.639 MB / 1.218 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.01573/1.075, allocations: 7.723 MB / 1.225 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.03626/1.112, allocations: 31.75 MB / 1.256 GB, free: 4.438 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.112, allocations: 4 kB / 1.256 GB, free: 4.434 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.773e-06/1.112, allocations: 0 / 1.256 GB, free: 4.434 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0007938/1.113, allocations: 3.281 kB / 1.256 GB, free: 4.434 MB / 0.9011 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.03703/1.15, allocations: 21.52 MB / 1.277 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/1.15, allocations: 9.219 kB / 1.277 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002084/1.152, allocations: 1.052 MB / 1.278 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008496/1.16, allocations: 3.329 MB / 1.282 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4491/1.609, allocations: 22.75 MB / 1.304 GB, free: 389.3 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003707/1.61, allocations: 0.6646 MB / 1.305 GB, free: 389 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001884/1.612, allocations: 0.9328 MB / 1.305 GB, free: 388.7 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02011/1.632, allocations: 18.18 MB / 1.323 GB, free: 381.4 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/1.632, allocations: 19.69 kB / 1.323 GB, free: 381.4 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009119/1.633, allocations: 331.4 kB / 1.324 GB, free: 381.1 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002557/1.633, allocations: 367.5 kB / 1.324 GB, free: 381.1 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02334/1.656, allocations: 21.85 MB / 1.345 GB, free: 374.2 MB / 0.9324 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.05635/1.713, allocations: 63.87 MB / 1.408 GB, free: 319.9 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009335/1.722, allocations: 11.67 MB / 1.419 GB, free: 308.6 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006746/1.729, allocations: 8.975 MB / 1.428 GB, free: 299.6 MB / 0.9324 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.02656/1.755, allocations: 29.58 MB / 1.457 GB, free: 270.2 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007556/1.763, allocations: 11.24 MB / 1.468 GB, free: 258.7 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01339/1.776, allocations: 8.211 MB / 1.476 GB, free: 251.4 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=567): time 2.677e-05/1.776, allocations: 0 / 1.476 GB, free: 251.4 MB / 0.9324 GB Notification: Performance of matching and sorting (n=838): time 0.4419/2.218, allocations: 217.5 MB / 1.688 GB, free: 33.57 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5143/2.732, allocations: 54.36 MB / 1.741 GB, free: 349.6 MB / 0.9325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03324/2.766, allocations: 19.86 MB / 1.761 GB, free: 343.2 MB / 0.9325 GB Notification: Performance of collectPreVariables (initialization): time 0.00351/2.769, allocations: 222.5 kB / 1.761 GB, free: 343 MB / 0.9325 GB Notification: Performance of collectInitialEqns (initialization): time 0.007858/2.777, allocations: 8.17 MB / 1.769 GB, free: 338 MB / 0.9325 GB Notification: Performance of collectInitialBindings (initialization): time 0.006671/2.784, allocations: 3.089 MB / 1.772 GB, free: 337.4 MB / 0.9325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01114/2.795, allocations: 3.526 MB / 1.775 GB, free: 336.6 MB / 0.9325 GB Notification: Performance of setup shared object (initialization): time 3.009e-05/2.795, allocations: 306.1 kB / 1.776 GB, free: 336.3 MB / 0.9325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02095/2.816, allocations: 19.42 MB / 1.795 GB, free: 330.5 MB / 0.9325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02617/2.842, allocations: 24.27 MB / 1.818 GB, free: 319.2 MB / 0.9325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03998/2.882, allocations: 37.02 MB / 1.854 GB, free: 290.9 MB / 0.9325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.432e-05/2.882, allocations: 16 kB / 1.854 GB, free: 290.8 MB / 0.9325 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.3105/3.193, allocations: 132.2 MB / 1.983 GB, free: 159.8 MB / 0.9325 GB Notification: Performance of prepare postOptimizeDAE: time 6.836e-05/3.193, allocations: 53.7 kB / 1.984 GB, free: 159.8 MB / 0.9325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.638e-05/3.193, allocations: 55.94 kB / 1.984 GB, free: 159.7 MB / 0.9325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2878/3.48, allocations: 117.9 MB / 2.099 GB, free: 42.31 MB / 0.9325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009289/3.49, allocations: 3.35 MB / 2.102 GB, free: 38.96 MB / 0.9325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3628/3.853, allocations: 80.97 MB / 2.181 GB, free: 322 MB / 0.9325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04616/3.899, allocations: 6.426 MB / 2.187 GB, free: 321.9 MB / 0.9325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005087/3.904, allocations: 1.269 MB / 2.189 GB, free: 321.8 MB / 0.9325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02929/3.933, allocations: 22.79 MB / 2.211 GB, free: 314.7 MB / 0.9325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02171/3.955, allocations: 23.76 MB / 2.234 GB, free: 303.5 MB / 0.9325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03684/3.992, allocations: 35.96 MB / 2.269 GB, free: 279.8 MB / 0.9325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.208e-05/3.992, allocations: 16 kB / 2.269 GB, free: 279.8 MB / 0.9325 GB Notification: Performance of matching and sorting (n=1355) (initialization_lambda0): time 0.3071/4.299, allocations: 130.6 MB / 2.397 GB, free: 150.3 MB / 0.9325 GB Notification: Performance of prepare postOptimizeDAE: time 7.507e-05/4.299, allocations: 54.33 kB / 2.397 GB, free: 150.2 MB / 0.9325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-05/4.299, allocations: 52 kB / 2.397 GB, free: 150.2 MB / 0.9325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2919/4.591, allocations: 117.5 MB / 2.512 GB, free: 33.07 MB / 0.9325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009287/4.6, allocations: 3.333 MB / 2.515 GB, free: 29.73 MB / 0.9325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3779/4.978, allocations: 84.24 MB / 2.597 GB, free: 313.1 MB / 0.9325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0446/5.023, allocations: 6.46 MB / 2.603 GB, free: 312.9 MB / 0.9325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004696/5.027, allocations: 1.24 MB / 2.605 GB, free: 312.9 MB / 0.9325 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.004951/5.032, allocations: 0.7277 MB / 2.605 GB, free: 312.4 MB / 0.9325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005528/5.038, allocations: 1.723 MB / 2.607 GB, free: 312.4 MB / 0.9325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1112/5.149, allocations: 60.37 MB / 2.666 GB, free: 282.5 MB / 0.9325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1222/5.271, allocations: 66.11 MB / 2.731 GB, free: 216.6 MB / 0.9325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001378/5.271, allocations: 28 kB / 2.731 GB, free: 216.5 MB / 0.9325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1187/5.39, allocations: 65.43 MB / 2.794 GB, free: 151.2 MB / 0.9325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1797/5.57, allocations: 111 MB / 2.903 GB, free: 40.63 MB / 0.9325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-05/5.57, allocations: 1.125 kB / 2.903 GB, free: 40.63 MB / 0.9325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00677/5.577, allocations: 1.984 MB / 2.905 GB, free: 38.65 MB / 0.9325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5038/6.08, allocations: 81.29 MB / 2.984 GB, free: 317.9 MB / 0.9325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003003/6.083, allocations: 0.5684 MB / 2.985 GB, free: 317.9 MB / 0.9325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06581/6.149, allocations: 57.92 MB / 3.041 GB, free: 300.5 MB / 0.9325 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.06048/6.21, allocations: 51.97 MB / 3.092 GB, free: 249.3 MB / 0.9325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1449/6.355, allocations: 95.39 MB / 3.185 GB, free: 155.1 MB / 0.9325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01371/6.368, allocations: 6.144 MB / 3.191 GB, free: 149.6 MB / 0.9325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007691/6.376, allocations: 216 kB / 3.191 GB, free: 149.4 MB / 0.9325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02742/6.403, allocations: 3.313 MB / 3.195 GB, free: 146 MB / 0.9325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00464/6.408, allocations: 0.9002 MB / 3.195 GB, free: 145.1 MB / 0.9325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002759/6.411, allocations: 0.6315 MB / 3.196 GB, free: 144.5 MB / 0.9325 GB Notification: Performance of sorting global known variables: time 0.01822/6.429, allocations: 13.92 MB / 3.21 GB, free: 130.7 MB / 0.9325 GB Notification: Performance of sort global known variables: time 3.2e-07/6.429, allocations: 0 / 3.21 GB, free: 130.7 MB / 0.9325 GB Notification: Performance of remove unused functions: time 0.06145/6.49, allocations: 38.37 MB / 3.247 GB, free: 92.47 MB / 0.9325 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.4863/6.977, allocations: 96.7 MB / 3.342 GB, free: 330.5 MB / 0.9325 GB Notification: Performance of simCode: created initialization part: time 0.1042/7.081, allocations: 71.92 MB / 3.412 GB, free: 315.3 MB / 0.9325 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/7.081, allocations: 3.688 kB / 3.412 GB, free: 315.3 MB / 0.9325 GB Notification: Performance of simCode: created simulation system equations: time 0.03364/7.115, allocations: 23.17 MB / 3.434 GB, free: 309.1 MB / 0.9325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04506/7.16, allocations: 8.421 MB / 3.443 GB, free: 306.6 MB / 0.9325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.228/8.388, allocations: 430.2 MB / 3.863 GB, free: 274.3 MB / 0.9325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01443/8.402, allocations: 10.21 MB / 3.873 GB, free: 264.1 MB / 0.9325 GB Notification: Performance of simCode: alias equations: time 0.02364/8.426, allocations: 7.882 MB / 3.881 GB, free: 256.5 MB / 0.9325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01719/8.443, allocations: 10.39 MB / 3.891 GB, free: 246.1 MB / 0.9325 GB Notification: Performance of SimCode: time 1.442e-06/8.443, allocations: 4 kB / 3.891 GB, free: 246.1 MB / 0.9325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.346/9.789, allocations: 0.844 GB / 4.735 GB, free: 138 MB / 0.9325 GB Notification: Performance of buildModelFMU: Generate platform static: time 56.55/66.34, allocations: 6.75 kB / 4.735 GB, free: 138 MB / 0.9325 GB " [Timeout remaining time 593] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 71.54603637196124] Failed to read output from testmodel.py, exit status != 0: 66.69640718586743 66.702125394 65.588739009 Calling exit ...