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.00131/0.00131, allocations: 114.1 kB / 17.16 MB, free: 5.895 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.001428/0.001428, allocations: 215 kB / 20.13 MB, free: 2.949 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.398/1.398, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002332/0.002332, allocations: 286.9 kB / 309.8 MB, free: 3.445 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.034/1.034, allocations: 180.6 MB / 0.5338 GB, free: 12.4 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",fmuType="cs",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.003/0.003, allocations: 101.4 kB / 0.7347 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5115/0.5145, allocations: 95.35 MB / 0.8279 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.7936/1.308, allocations: 361.7 MB / 1.181 GB, free: 59.94 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.09049/1.399, allocations: 76.07 MB / 1.255 GB, free: 58.81 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01497/1.414, allocations: 0.579 MB / 1.256 GB, free: 58.81 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01705/1.431, allocations: 6.617 MB / 1.262 GB, free: 58.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.03809/1.469, allocations: 14.75 MB / 1.277 GB, free: 52.31 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.02378/1.492, allocations: 10.4 MB / 1.287 GB, free: 45.77 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.09324/1.586, allocations: 74.42 MB / 1.36 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02835/1.614, allocations: 17.4 MB / 1.377 GB, free: 12.68 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03855/1.653, allocations: 17.66 MB / 1.394 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03221/1.685, allocations: 17.21 MB / 1.411 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.008878/1.694, allocations: 1.969 MB / 1.413 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02128/1.715, allocations: 6.319 MB / 1.419 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0121/1.727, allocations: 6.672 MB / 1.425 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.02487/1.752, allocations: 11.29 MB / 1.436 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.05676/1.809, allocations: 31.81 MB / 1.467 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/1.809, allocations: 0 / 1.467 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.292e-06/1.809, allocations: 4 kB / 1.467 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.001269/1.81, allocations: 0 / 1.467 GB, free: 3.746 MB / 0.9981 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.07023/1.88, allocations: 22.36 MB / 1.489 GB, free: 13.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.88, allocations: 12.03 kB / 1.489 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002358/1.881, allocations: 211.8 kB / 1.489 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004339/1.885, allocations: 1.057 MB / 1.49 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01798/1.903, allocations: 3.301 MB / 1.494 GB, free: 8.855 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05007/1.953, allocations: 23.19 MB / 1.516 GB, free: 1.984 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007664/1.954, allocations: 0.67 MB / 1.517 GB, free: 1.32 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00485/1.959, allocations: 0.9413 MB / 1.518 GB, free: 396 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04093/1.999, allocations: 17.23 MB / 1.535 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002769/2, allocations: 15.94 kB / 1.535 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003167/2.003, allocations: 328.2 kB / 1.535 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004126/2.003, allocations: 367.3 kB / 1.535 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3851/2.388, allocations: 21.86 MB / 1.557 GB, free: 455.9 MB / 1.076 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.1233/2.512, allocations: 82.37 MB / 1.637 GB, free: 398.5 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.019/2.531, allocations: 11.84 MB / 1.649 GB, free: 392 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0128/2.544, allocations: 8.964 MB / 1.658 GB, free: 387.2 MB / 1.076 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.05702/2.601, allocations: 34.27 MB / 1.691 GB, free: 356.7 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01467/2.615, allocations: 10.28 MB / 1.701 GB, free: 346.4 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02663/2.642, allocations: 8.254 MB / 1.709 GB, free: 339.2 MB / 1.076 GB Notification: Performance of pre-optimization done (n=567): time 2.949e-05/2.642, allocations: 0 / 1.709 GB, free: 339.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=838): time 0.8758/3.518, allocations: 217.7 MB / 1.922 GB, free: 121.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.14/3.658, allocations: 55.94 MB / 1.976 GB, free: 64.19 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03559/3.693, allocations: 20.52 MB / 1.996 GB, free: 43.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.004214/3.697, allocations: 217.7 kB / 1.997 GB, free: 43.55 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.01052/3.708, allocations: 7.875 MB / 2.004 GB, free: 35.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.009229/3.717, allocations: 3.148 MB / 2.007 GB, free: 32.59 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0173/3.735, allocations: 3.996 MB / 2.011 GB, free: 28.58 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.232e-05/3.735, allocations: 305.1 kB / 2.011 GB, free: 28.28 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02921/3.764, allocations: 20.28 MB / 2.031 GB, free: 7.977 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.473/4.237, allocations: 23.1 MB / 2.054 GB, free: 414.4 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06833/4.305, allocations: 38.61 MB / 2.092 GB, free: 401.1 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/4.305, allocations: 19.62 kB / 2.092 GB, free: 401.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5991/4.904, allocations: 134.2 MB / 2.223 GB, free: 305.1 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/4.904, allocations: 57.7 kB / 2.223 GB, free: 305 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/4.904, allocations: 52 kB / 2.223 GB, free: 305 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5671/5.472, allocations: 118 MB / 2.338 GB, free: 187.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01774/5.489, allocations: 3.545 MB / 2.341 GB, free: 183.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1336/5.623, allocations: 81.91 MB / 2.421 GB, free: 101.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09472/5.718, allocations: 6.453 MB / 2.428 GB, free: 95.42 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006954/5.725, allocations: 1.32 MB / 2.429 GB, free: 94.1 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03963/5.764, allocations: 23.67 MB / 2.452 GB, free: 70.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03166/5.796, allocations: 22.59 MB / 2.474 GB, free: 46.78 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4994/6.295, allocations: 37.57 MB / 2.511 GB, free: 396.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.395e-05/6.295, allocations: 18.12 kB / 2.511 GB, free: 396.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.594/6.889, allocations: 132.6 MB / 2.64 GB, free: 329.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.476e-05/6.889, allocations: 55.42 kB / 2.64 GB, free: 329.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-05/6.889, allocations: 52 kB / 2.64 GB, free: 329.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5722/7.462, allocations: 117.6 MB / 2.755 GB, free: 212.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.017/7.479, allocations: 3.533 MB / 2.759 GB, free: 208.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1422/7.621, allocations: 86.15 MB / 2.843 GB, free: 122.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09291/7.714, allocations: 6.503 MB / 2.849 GB, free: 116.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005137/7.719, allocations: 1.282 MB / 2.851 GB, free: 114.9 MB / 1.076 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.005833/7.725, allocations: 0.7716 MB / 2.851 GB, free: 114.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007067/7.732, allocations: 1.706 MB / 2.853 GB, free: 113.4 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2043/7.936, allocations: 60.28 MB / 2.912 GB, free: 53.44 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.6242/8.56, allocations: 66.08 MB / 2.976 GB, free: 383.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001612/8.561, allocations: 29.22 kB / 2.976 GB, free: 383.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2045/8.765, allocations: 65.41 MB / 3.04 GB, free: 367 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2873/9.052, allocations: 129.7 MB / 3.167 GB, free: 244.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001113/9.052, allocations: 0 / 3.167 GB, free: 244.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01126/9.064, allocations: 1.973 MB / 3.169 GB, free: 242.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3162/9.38, allocations: 81.41 MB / 3.248 GB, free: 161.6 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003639/9.384, allocations: 0.5729 MB / 3.249 GB, free: 161 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09725/9.481, allocations: 58.56 MB / 3.306 GB, free: 102.4 MB / 1.076 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.1023/9.583, allocations: 54.14 MB / 3.359 GB, free: 47.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6318/10.21, allocations: 95.31 MB / 3.452 GB, free: 375.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01676/10.23, allocations: 6.116 MB / 3.458 GB, free: 373.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007391/10.24, allocations: 212.8 kB / 3.458 GB, free: 373.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05204/10.29, allocations: 3.32 MB / 3.461 GB, free: 373.4 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004969/10.3, allocations: 0.8646 MB / 3.462 GB, free: 373.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003074/10.3, allocations: 0.6274 MB / 3.463 GB, free: 373.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.02283/10.32, allocations: 14.3 MB / 3.477 GB, free: 368.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 2e-07/10.32, allocations: 0 / 3.477 GB, free: 368.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.08969/10.41, allocations: 38.74 MB / 3.515 GB, free: 345.7 MB / 1.076 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.2448/10.66, allocations: 96.8 MB / 3.609 GB, free: 257.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.1262/10.78, allocations: 74.03 MB / 3.682 GB, free: 183.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/10.78, allocations: 4 kB / 3.682 GB, free: 183.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.05229/10.83, allocations: 23.15 MB / 3.704 GB, free: 160.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06245/10.9, allocations: 8.005 MB / 3.712 GB, free: 152.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.164/13.06, allocations: 443.6 MB / 4.145 GB, free: 160.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009903/13.07, allocations: 10.45 MB / 4.155 GB, free: 150.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.02403/13.1, allocations: 7.983 MB / 4.163 GB, free: 142.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01959/13.11, allocations: 10.38 MB / 4.173 GB, free: 132.1 MB / 1.076 GB Notification: Performance of SimCode: time 2.044e-06/13.11, allocations: 0 / 4.173 GB, free: 132.1 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.787/14.9, allocations: 0.8149 GB / 4.988 GB, free: 177.2 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 109.5/124.4, allocations: 12.27 kB / 4.988 GB, free: 177.2 MB / 1.076 GB " [Timeout remaining time 535] (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: 132.86552491696784] Failed to read output from testmodel.py, exit status != 0: 124.93615006899927 124.947560968 123.136095242 Calling exit ...