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.000756/0.000756, 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.0007534/0.0007534, 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.8351/0.8351, 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.001375/0.001375, allocations: 229.8 kB / 259.4 MB, free: 13.01 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.6492/0.6492, allocations: 138.4 MB / 454.3 MB, free: 1.609 MB / 362.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: 0 / 0.6464 GB, free: 29.01 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.347e-05, allocations: 3.688 kB / 0.6464 GB, free: 29.01 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.4934/0.4934, allocations: 325.9 MB / 0.9646 GB, free: 39.49 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.06893/0.5623, allocations: 70.79 MB / 1.034 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01337/0.5757, allocations: 0.5771 MB / 1.034 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0154/0.5911, allocations: 6.471 MB / 1.041 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.02986/0.621, allocations: 15.44 MB / 1.056 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01799/0.639, allocations: 10.89 MB / 1.066 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.07527/0.7142, allocations: 86.83 MB / 1.151 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02045/0.7347, allocations: 15.85 MB / 1.167 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04878/0.7834, allocations: 23.33 MB / 1.189 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3916/1.175, allocations: 15.6 MB / 1.205 GB, free: 84.94 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.008171/1.183, allocations: 1.836 MB / 1.206 GB, free: 84.94 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01828/1.202, allocations: 5.068 MB / 1.211 GB, free: 84.94 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.01126/1.213, allocations: 6.649 MB / 1.218 GB, free: 84.94 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.01885/1.232, allocations: 7.715 MB / 1.225 GB, free: 84.94 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0394/1.271, allocations: 31.75 MB / 1.256 GB, free: 83.95 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.271, allocations: 0 / 1.256 GB, free: 83.95 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.934e-06/1.271, allocations: 0 / 1.256 GB, free: 83.95 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001062/1.272, allocations: 0 / 1.256 GB, free: 83.95 MB / 0.8698 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.06104/1.333, allocations: 21.52 MB / 1.277 GB, free: 74.91 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.333, allocations: 13.94 kB / 1.277 GB, free: 74.91 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005875/1.339, allocations: 1.049 MB / 1.278 GB, free: 74.83 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/1.354, allocations: 3.32 MB / 1.282 GB, free: 73.68 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03683/1.391, allocations: 22.75 MB / 1.304 GB, free: 70.02 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00056/1.392, allocations: 0.6777 MB / 1.305 GB, free: 70 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005878/1.398, allocations: 0.9341 MB / 1.305 GB, free: 69.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0368/1.435, allocations: 18.16 MB / 1.323 GB, free: 63.71 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002653/1.435, allocations: 19.2 kB / 1.323 GB, free: 63.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004297/1.439, allocations: 336.9 kB / 1.324 GB, free: 63.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002365/1.439, allocations: 363.3 kB / 1.324 GB, free: 63.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03185/1.471, allocations: 21.85 MB / 1.345 GB, free: 52.1 MB / 0.8698 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.09569/1.567, allocations: 63.85 MB / 1.408 GB, free: 5.223 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01587/1.583, allocations: 11.69 MB / 1.419 GB, free: 9.809 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01169/1.594, allocations: 8.97 MB / 1.428 GB, free: 0.832 MB / 0.9011 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.05581/1.65, allocations: 29.58 MB / 1.457 GB, free: 3.348 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01576/1.666, allocations: 11.23 MB / 1.468 GB, free: 7.82 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0198/1.686, allocations: 8.209 MB / 1.476 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=567): time 3.271e-05/1.686, allocations: 0 / 1.476 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of matching and sorting (n=838): time 0.7977/2.483, allocations: 217.5 MB / 1.688 GB, free: 427.1 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07195/2.555, allocations: 54.37 MB / 1.741 GB, free: 372 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02727/2.583, allocations: 19.87 MB / 1.761 GB, free: 352.3 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.003631/2.586, allocations: 223.3 kB / 1.761 GB, free: 352.1 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.007545/2.594, allocations: 8.17 MB / 1.769 GB, free: 344.4 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.006648/2.601, allocations: 3.092 MB / 1.772 GB, free: 341.3 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007409/2.608, allocations: 3.528 MB / 1.775 GB, free: 337.8 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 2.455e-05/2.608, allocations: 301.1 kB / 1.776 GB, free: 337.5 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01775/2.626, allocations: 19.42 MB / 1.795 GB, free: 318 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02251/2.648, allocations: 24.28 MB / 1.818 GB, free: 292.2 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0416/2.69, allocations: 37.02 MB / 1.854 GB, free: 254.4 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.347e-05/2.69, allocations: 12 kB / 1.854 GB, free: 254.4 MB / 1.042 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.3167/3.007, allocations: 132.2 MB / 1.983 GB, free: 122 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/3.007, allocations: 53.7 kB / 1.984 GB, free: 122 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-05/3.007, allocations: 52 kB / 1.984 GB, free: 121.9 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2937/3.3, allocations: 117.9 MB / 2.099 GB, free: 4.148 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3351/3.635, allocations: 3.343 MB / 2.102 GB, free: 453.8 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1072/3.743, allocations: 80.99 MB / 2.181 GB, free: 435.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0479/3.791, allocations: 6.42 MB / 2.187 GB, free: 435.3 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005751/3.796, allocations: 1.268 MB / 2.189 GB, free: 435.2 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0322/3.828, allocations: 22.79 MB / 2.211 GB, free: 423.7 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.023/3.851, allocations: 23.77 MB / 2.234 GB, free: 398.5 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04117/3.893, allocations: 35.96 MB / 2.269 GB, free: 361.8 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.988e-05/3.893, allocations: 16 kB / 2.269 GB, free: 361.8 MB / 1.042 GB Notification: Performance of matching and sorting (n=1355) (initialization_lambda0): time 0.3138/4.206, allocations: 130.6 MB / 2.397 GB, free: 232.2 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 5.424e-05/4.207, allocations: 58.58 kB / 2.397 GB, free: 232.1 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.316e-05/4.207, allocations: 53.12 kB / 2.397 GB, free: 232.1 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2902/4.497, allocations: 117.5 MB / 2.512 GB, free: 115 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009558/4.506, allocations: 3.334 MB / 2.515 GB, free: 111.6 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09836/4.605, allocations: 84.24 MB / 2.597 GB, free: 27.49 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04561/4.65, allocations: 6.465 MB / 2.603 GB, free: 21.03 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005258/4.656, allocations: 1.242 MB / 2.605 GB, free: 19.79 MB / 1.042 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.007914/4.664, allocations: 0.7253 MB / 2.605 GB, free: 19.09 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008719/4.672, allocations: 1.716 MB / 2.607 GB, free: 17.37 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4434/5.116, allocations: 60.37 MB / 2.666 GB, free: 454.2 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1093/5.225, allocations: 66.11 MB / 2.731 GB, free: 424.9 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.609e-05/5.225, allocations: 28 kB / 2.731 GB, free: 424.9 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1076/5.333, allocations: 65.44 MB / 2.794 GB, free: 359.6 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1588/5.491, allocations: 111 MB / 2.903 GB, free: 249 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-05/5.491, allocations: 0 / 2.903 GB, free: 249 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006234/5.498, allocations: 1.977 MB / 2.905 GB, free: 247 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1618/5.66, allocations: 81.3 MB / 2.984 GB, free: 165.9 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002816/5.662, allocations: 0.5729 MB / 2.985 GB, free: 165.4 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05837/5.721, allocations: 57.91 MB / 3.041 GB, free: 107.4 MB / 1.042 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.05464/5.775, allocations: 51.98 MB / 3.092 GB, free: 54.8 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4402/6.216, allocations: 95.38 MB / 3.185 GB, free: 431.8 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01315/6.229, allocations: 6.146 MB / 3.191 GB, free: 431 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004184/6.233, allocations: 215.8 kB / 3.191 GB, free: 430.9 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02785/6.261, allocations: 3.315 MB / 3.195 GB, free: 430.8 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003003/6.264, allocations: 0.8964 MB / 3.195 GB, free: 430.7 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001605/6.265, allocations: 0.6313 MB / 3.196 GB, free: 430.6 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01714/6.282, allocations: 13.93 MB / 3.21 GB, free: 425.9 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.71e-07/6.282, allocations: 0 / 3.21 GB, free: 425.9 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.05682/6.339, allocations: 38.36 MB / 3.247 GB, free: 409.6 MB / 1.042 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.1384/6.478, allocations: 96.69 MB / 3.342 GB, free: 330.4 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.07499/6.553, allocations: 71.93 MB / 3.412 GB, free: 258.5 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/6.553, allocations: 5.203 kB / 3.412 GB, free: 258.5 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.02639/6.579, allocations: 23.18 MB / 3.434 GB, free: 235.3 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03263/6.612, allocations: 8.421 MB / 3.443 GB, free: 227.5 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.273/7.885, allocations: 430.2 MB / 3.863 GB, free: 312.8 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007945/7.892, allocations: 10.2 MB / 3.873 GB, free: 302.6 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.01762/7.91, allocations: 7.87 MB / 3.881 GB, free: 295 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01156/7.922, allocations: 10.41 MB / 3.891 GB, free: 284.5 MB / 1.042 GB Notification: Performance of SimCode: time 1.562e-06/7.922, allocations: 0 / 3.891 GB, free: 284.5 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.204/9.126, allocations: 0.844 GB / 4.735 GB, free: 409.3 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 55.29/64.42, allocations: 5.156 kB / 4.735 GB, free: 409.3 MB / 1.042 GB " [Timeout remaining time 595] (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: 67.44308916665614] Failed to read output from testmodel.py, exit status != 0: 64.78410469274968 64.791295718 63.518395953 Calling exit ...