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.001331/0.001331, 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.00151/0.00151, allocations: 209.9 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.809 MB / 206.1 MB " [Timeout remaining time 178] 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.002452/0.002452, allocations: 286.1 kB / 312.7 MB, free: 2.633 MB / 238.1 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 1.149/1.149, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.1 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: NcDataReader2 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: BuildingSystems 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.002953/0.002953, allocations: 101 kB / 0.7396 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1644, allocations: 95.4 MB / 0.8327 GB, free: 8.23 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.6842/0.8485, allocations: 328.8 MB / 1.154 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1125/0.9611, allocations: 70.81 MB / 1.223 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01358/0.9747, allocations: 0.5771 MB / 1.224 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01886/0.9935, allocations: 6.398 MB / 1.23 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0403/1.034, allocations: 15.05 MB / 1.244 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.02423/1.058, allocations: 10.5 MB / 1.255 GB, free: 12.03 MB / 0.8888 GB Notification: Performance of NFFlatten.flatten: time 0.1067/1.165, allocations: 76.2 MB / 1.329 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02592/1.191, allocations: 15.79 MB / 1.345 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8841/2.075, allocations: 18.06 MB / 1.362 GB, free: 72.24 MB / 0.9826 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02955/2.104, allocations: 16.88 MB / 1.379 GB, free: 72.24 MB / 0.9826 GB Notification: Performance of NFPackage.collectConstants: time 0.008295/2.113, allocations: 1.836 MB / 1.38 GB, free: 72.24 MB / 0.9826 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01968/2.132, allocations: 5.241 MB / 1.386 GB, free: 72.24 MB / 0.9826 GB Notification: Performance of NFScalarize.scalarize: time 0.01126/2.144, allocations: 6.497 MB / 1.392 GB, free: 71.86 MB / 0.9826 GB Notification: Performance of NFVerifyModel.verify: time 0.02216/2.166, allocations: 9.115 MB / 1.401 GB, free: 69.66 MB / 0.9826 GB Notification: Performance of NFConvertDAE.convert: time 0.04342/2.209, allocations: 31 MB / 1.431 GB, free: 65.62 MB / 0.9826 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/2.209, allocations: 0 / 1.431 GB, free: 65.62 MB / 0.9826 GB Notification: Performance of FrontEnd: time 1.643e-06/2.209, allocations: 0 / 1.431 GB, free: 65.62 MB / 0.9826 GB Notification: Performance of Transformations before backend: time 0.0009525/2.21, allocations: 3.062 kB / 1.431 GB, free: 65.62 MB / 0.9826 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.06281/2.273, allocations: 21.68 MB / 1.452 GB, free: 56.57 MB / 0.9826 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/2.273, allocations: 11.66 kB / 1.452 GB, free: 56.57 MB / 0.9826 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004595/2.278, allocations: 1.047 MB / 1.453 GB, free: 56.49 MB / 0.9826 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01717/2.295, allocations: 3.311 MB / 1.457 GB, free: 55.34 MB / 0.9826 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04265/2.337, allocations: 22.01 MB / 1.478 GB, free: 52.02 MB / 0.9826 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006711/2.338, allocations: 0.6725 MB / 1.479 GB, free: 52 MB / 0.9826 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005076/2.343, allocations: 0.9397 MB / 1.48 GB, free: 51.99 MB / 0.9826 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03771/2.381, allocations: 18.18 MB / 1.497 GB, free: 49.15 MB / 0.9826 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003726/2.381, allocations: 8.031 kB / 1.497 GB, free: 49.15 MB / 0.9826 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004042/2.385, allocations: 332.8 kB / 1.498 GB, free: 49.15 MB / 0.9826 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000343/2.386, allocations: 376.2 kB / 1.498 GB, free: 49.11 MB / 0.9826 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03674/2.422, allocations: 21.84 MB / 1.519 GB, free: 45.84 MB / 0.9826 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.1219/2.544, allocations: 64.19 MB / 1.582 GB, free: 6.977 MB / 0.9982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02277/2.567, allocations: 11.7 MB / 1.594 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0187/2.586, allocations: 8.955 MB / 1.602 GB, free: 2.598 MB / 1.014 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.0787/2.664, allocations: 29.81 MB / 1.631 GB, free: 4.891 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02066/2.685, allocations: 11.24 MB / 1.642 GB, free: 9.352 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03112/2.716, allocations: 8.265 MB / 1.65 GB, free: 1.293 MB / 1.061 GB Notification: Performance of pre-optimization done (n=567): time 3.192e-05/2.716, allocations: 0 / 1.65 GB, free: 1.293 MB / 1.061 GB Notification: Performance of matching and sorting (n=838): time 1.296/4.012, allocations: 217.5 MB / 1.863 GB, free: 0.525 GB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1211/4.133, allocations: 54.38 MB / 1.916 GB, free: 494 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03011/4.163, allocations: 20.33 MB / 1.936 GB, free: 474.1 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.00467/4.168, allocations: 227.1 kB / 1.936 GB, free: 473.8 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0096/4.178, allocations: 7.883 MB / 1.944 GB, free: 467.5 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.007613/4.185, allocations: 3.15 MB / 1.947 GB, free: 465.8 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01061/4.196, allocations: 3.987 MB / 1.951 GB, free: 461.8 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 3.23e-05/4.196, allocations: 301.1 kB / 1.951 GB, free: 461.5 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02649/4.222, allocations: 20.33 MB / 1.971 GB, free: 441.2 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03029/4.253, allocations: 25.32 MB / 1.996 GB, free: 414.3 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05229/4.305, allocations: 38.67 MB / 2.033 GB, free: 374.8 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.901e-05/4.305, allocations: 16 kB / 2.033 GB, free: 374.8 MB / 1.201 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5761/4.881, allocations: 134.3 MB / 2.164 GB, free: 240.3 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/4.881, allocations: 53.7 kB / 2.165 GB, free: 240.3 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/4.881, allocations: 52 kB / 2.165 GB, free: 240.2 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5626/5.444, allocations: 117.8 MB / 2.28 GB, free: 122.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0174/5.461, allocations: 3.559 MB / 2.283 GB, free: 118.9 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1312/5.592, allocations: 81 MB / 2.362 GB, free: 37.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09124/5.684, allocations: 6.441 MB / 2.369 GB, free: 31.06 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005862/5.69, allocations: 1.312 MB / 2.37 GB, free: 29.75 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03626/5.726, allocations: 23.72 MB / 2.393 GB, free: 5.996 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.4511/6.177, allocations: 24.8 MB / 2.417 GB, free: 0.5163 GB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05513/6.232, allocations: 37.63 MB / 2.454 GB, free: 0.5084 GB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001245/6.232, allocations: 14.88 kB / 2.454 GB, free: 0.5084 GB / 1.201 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5758/6.808, allocations: 132.7 MB / 2.584 GB, free: 422.8 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 8.31e-05/6.808, allocations: 54.64 kB / 2.584 GB, free: 422.7 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.666e-05/6.808, allocations: 52.09 kB / 2.584 GB, free: 422.7 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5555/7.364, allocations: 117.5 MB / 2.698 GB, free: 305.5 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01616/7.38, allocations: 3.533 MB / 2.702 GB, free: 302 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1338/7.514, allocations: 84.26 MB / 2.784 GB, free: 217.8 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09161/7.605, allocations: 6.48 MB / 2.791 GB, free: 211.3 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005688/7.611, allocations: 1.279 MB / 2.792 GB, free: 210.1 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1171): * Single equations (assignments): 1151 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.006801/7.618, allocations: 0.7672 MB / 2.793 GB, free: 209.3 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007218/7.625, allocations: 1.701 MB / 2.794 GB, free: 208.6 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2114/7.836, allocations: 60.32 MB / 2.853 GB, free: 148.6 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2154/8.052, allocations: 66.1 MB / 2.918 GB, free: 82.68 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001086/8.052, allocations: 31.94 kB / 2.918 GB, free: 82.64 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2072/8.259, allocations: 65.43 MB / 2.982 GB, free: 17.23 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7037/8.963, allocations: 111.1 MB / 3.09 GB, free: 496.5 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.043e-05/8.963, allocations: 0 / 3.09 GB, free: 496.5 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01118/8.974, allocations: 1.979 MB / 3.092 GB, free: 496.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3171/9.291, allocations: 81.3 MB / 3.171 GB, free: 425.2 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003547/9.295, allocations: 0.569 MB / 3.172 GB, free: 424.6 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1037/9.398, allocations: 57.92 MB / 3.229 GB, free: 366.7 MB / 1.201 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.1067/9.505, allocations: 51.97 MB / 3.279 GB, free: 314.1 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2605/9.765, allocations: 95.37 MB / 3.372 GB, free: 219.9 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02279/9.788, allocations: 6.195 MB / 3.378 GB, free: 214.4 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01015/9.798, allocations: 215.9 kB / 3.379 GB, free: 214.2 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05387/9.852, allocations: 3.323 MB / 3.382 GB, free: 210.8 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006018/9.858, allocations: 0.8885 MB / 3.383 GB, free: 209.9 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004341/9.863, allocations: 0.6315 MB / 3.383 GB, free: 209.3 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.02964/9.892, allocations: 14.11 MB / 3.397 GB, free: 195.3 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.41e-07/9.892, allocations: 0 / 3.397 GB, free: 195.3 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.08591/9.978, allocations: 38.69 MB / 3.435 GB, free: 156.7 MB / 1.201 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.2589/10.24, allocations: 96.79 MB / 3.529 GB, free: 59.97 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.5683/10.81, allocations: 74.05 MB / 3.602 GB, free: 0.5252 GB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/10.81, allocations: 2.969 kB / 3.602 GB, free: 0.5252 GB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.05521/10.86, allocations: 23.17 MB / 3.624 GB, free: 0.5246 GB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05228/10.91, allocations: 8.009 MB / 3.632 GB, free: 0.524 GB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.421/12.33, allocations: 443.3 MB / 4.065 GB, free: 132.9 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01614/12.35, allocations: 10.2 MB / 4.075 GB, free: 122.7 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.03028/12.38, allocations: 7.999 MB / 4.083 GB, free: 114.7 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02416/12.4, allocations: 10.36 MB / 4.093 GB, free: 104.3 MB / 1.201 GB Notification: Performance of SimCode: time 1.884e-06/12.4, allocations: 0 / 4.093 GB, free: 104.3 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.864/14.27, allocations: 0.8411 GB / 4.934 GB, free: 418.7 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 93.24/107.5, allocations: 5.031 kB / 4.934 GB, free: 418.7 MB / 1.201 GB " [Timeout remaining time 552] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 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: 111.96388791222125] Failed to read output from testmodel.py, exit status != 0: 108.00367147289217 108.014024163 105.802348022 Calling exit ...