Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007981/0.0007981, 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.0007782/0.0007782, allocations: 165.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.8204/0.8204, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.675/1.675, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.877e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.619/0.619, allocations: 326.2 MB / 1.318 GB, free: 7.129 MB / 1.151 GB Notification: Performance of NFInst.instExpressions: time 0.08441/0.7035, allocations: 70.67 MB / 1.387 GB, free: 308 kB / 1.214 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01342/0.7169, allocations: 0.6044 MB / 1.388 GB, free: 15.69 MB / 1.229 GB Notification: Performance of NFTyping.typeComponents: time 0.01564/0.7325, allocations: 6.439 MB / 1.394 GB, free: 9.215 MB / 1.229 GB Notification: Performance of NFTyping.typeBindings: time 0.03154/0.7641, allocations: 15.38 MB / 1.409 GB, free: 9.773 MB / 1.245 GB Notification: Performance of NFTyping.typeClassSections: time 0.01793/0.782, allocations: 10.81 MB / 1.42 GB, free: 15.04 MB / 1.26 GB Notification: Performance of NFFlatten.flatten: time 0.06238/0.8444, allocations: 66.92 MB / 1.485 GB, free: 11.97 MB / 1.323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02351/0.8679, allocations: 15.15 MB / 1.5 GB, free: 12.69 MB / 1.339 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05125/0.9191, allocations: 23.69 MB / 1.523 GB, free: 4.965 MB / 1.354 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02289/0.942, allocations: 14.72 MB / 1.537 GB, free: 6.211 MB / 1.37 GB Notification: Performance of NFPackage.collectConstants: time 0.005782/0.9478, allocations: 1.754 MB / 1.539 GB, free: 4.457 MB / 1.37 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01442/0.9622, allocations: 4.941 MB / 1.544 GB, free: 15.51 MB / 1.385 GB Notification: Performance of NFScalarize.scalarize: time 0.008801/0.971, allocations: 6.272 MB / 1.55 GB, free: 9.215 MB / 1.385 GB Notification: Performance of NFVerifyModel.verify: time 0.01666/0.9877, allocations: 7.467 MB / 1.557 GB, free: 1.734 MB / 1.385 GB Notification: Performance of NFConvertDAE.convert: time 1.064/2.052, allocations: 30.52 MB / 1.587 GB, free: 155.3 MB / 1.401 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/2.052, allocations: 0.5625 kB / 1.587 GB, free: 155.3 MB / 1.401 GB Notification: Performance of FrontEnd: time 1.262e-06/2.052, allocations: 0 / 1.587 GB, free: 155.3 MB / 1.401 GB Notification: Performance of Transformations before backend: time 0.0007203/2.052, allocations: 0 / 1.587 GB, free: 155.3 MB / 1.401 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1949 * Number of variables: 1949 Notification: Performance of Generate backend data structure: time 0.02827/2.081, allocations: 20.74 MB / 1.607 GB, free: 147 MB / 1.401 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/2.081, allocations: 9.844 kB / 1.607 GB, free: 147 MB / 1.401 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001487/2.082, allocations: 0.9966 MB / 1.608 GB, free: 147 MB / 1.401 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008721/2.091, allocations: 3.245 MB / 1.612 GB, free: 145.8 MB / 1.401 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03152/2.122, allocations: 22.25 MB / 1.633 GB, free: 142.6 MB / 1.401 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004639/2.123, allocations: 0.6418 MB / 1.634 GB, free: 142.5 MB / 1.401 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001771/2.125, allocations: 0.879 MB / 1.635 GB, free: 142.5 MB / 1.401 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02052/2.145, allocations: 18.07 MB / 1.652 GB, free: 140.6 MB / 1.401 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/2.145, allocations: 19.39 kB / 1.652 GB, free: 140.6 MB / 1.401 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009905/2.146, allocations: 318.8 kB / 1.653 GB, free: 140.6 MB / 1.401 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001805/2.146, allocations: 204.1 kB / 1.653 GB, free: 140.6 MB / 1.401 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02126/2.168, allocations: 21.39 MB / 1.674 GB, free: 140.5 MB / 1.401 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.07417/2.242, allocations: 62.35 MB / 1.735 GB, free: 123.9 MB / 1.401 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01365/2.255, allocations: 12.31 MB / 1.747 GB, free: 123.1 MB / 1.401 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008588/2.264, allocations: 9.207 MB / 1.756 GB, free: 119.7 MB / 1.401 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.03467/2.299, allocations: 28.78 MB / 1.784 GB, free: 100.4 MB / 1.401 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00918/2.308, allocations: 11.43 MB / 1.795 GB, free: 88.73 MB / 1.401 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01615/2.324, allocations: 8.181 MB / 1.803 GB, free: 80.79 MB / 1.401 GB Notification: Performance of pre-optimization done (n=503): time 2.878e-05/2.324, allocations: 0 / 1.803 GB, free: 80.79 MB / 1.401 GB Notification: Performance of matching and sorting (n=742): time 0.4749/2.799, allocations: 218.1 MB / 2.016 GB, free: 6.391 MB / 1.542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06615/2.865, allocations: 47.62 MB / 2.062 GB, free: 5.973 MB / 1.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02232/2.887, allocations: 19.16 MB / 2.081 GB, free: 2.902 MB / 1.604 GB Notification: Performance of collectPreVariables (initialization): time 0.003864/2.891, allocations: 197.7 kB / 2.081 GB, free: 2.703 MB / 1.604 GB Notification: Performance of collectInitialEqns (initialization): time 0.005941/2.897, allocations: 7.943 MB / 2.089 GB, free: 10.85 MB / 1.62 GB Notification: Performance of collectInitialBindings (initialization): time 0.00467/2.902, allocations: 2.707 MB / 2.092 GB, free: 8.176 MB / 1.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004985/2.907, allocations: 3.321 MB / 2.095 GB, free: 4.844 MB / 1.62 GB Notification: Performance of setup shared object (initialization): time 8.334e-05/2.907, allocations: 309.1 kB / 2.095 GB, free: 4.539 MB / 1.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02095/2.928, allocations: 18.57 MB / 2.113 GB, free: 1.93 MB / 1.636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02263/2.951, allocations: 23.38 MB / 2.136 GB, free: 9.031 MB / 1.667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04243/2.993, allocations: 35.7 MB / 2.171 GB, free: 4.785 MB / 1.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.319e-05/2.993, allocations: 16 kB / 2.171 GB, free: 4.77 MB / 1.698 GB Notification: Performance of matching and sorting (n=1227) (initialization): time 0.8118/3.805, allocations: 130.2 MB / 2.298 GB, free: 0.6995 GB / 1.714 GB Notification: Performance of prepare postOptimizeDAE: time 6.908e-05/3.805, allocations: 50.95 kB / 2.298 GB, free: 0.6994 GB / 1.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.972e-05/3.805, allocations: 53.5 kB / 2.298 GB, free: 0.6994 GB / 1.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2925/4.098, allocations: 117.9 MB / 2.413 GB, free: 0.5955 GB / 1.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008663/4.106, allocations: 2.977 MB / 2.416 GB, free: 0.5926 GB / 1.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08317/4.189, allocations: 80.92 MB / 2.495 GB, free: 0.5135 GB / 1.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04435/4.234, allocations: 6.553 MB / 2.502 GB, free: 0.5071 GB / 1.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003296/4.237, allocations: 1.255 MB / 2.503 GB, free: 0.5059 GB / 1.714 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02158/4.259, allocations: 21.68 MB / 2.524 GB, free: 496.3 MB / 1.714 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01757/4.276, allocations: 22.85 MB / 2.546 GB, free: 471.9 MB / 1.714 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03192/4.308, allocations: 34.66 MB / 2.58 GB, free: 436.5 MB / 1.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.474e-05/4.308, allocations: 12 kB / 2.58 GB, free: 436.5 MB / 1.714 GB Notification: Performance of matching and sorting (n=1227) (initialization_lambda0): time 0.296/4.604, allocations: 128.6 MB / 2.706 GB, free: 308.9 MB / 1.714 GB Notification: Performance of prepare postOptimizeDAE: time 6.459e-05/4.604, allocations: 61.88 kB / 2.706 GB, free: 308.8 MB / 1.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.564e-05/4.604, allocations: 59.94 kB / 2.706 GB, free: 308.7 MB / 1.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2858/4.89, allocations: 117.5 MB / 2.821 GB, free: 191.6 MB / 1.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009072/4.899, allocations: 2.96 MB / 2.824 GB, free: 188.7 MB / 1.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08667/4.986, allocations: 84.19 MB / 2.906 GB, free: 104.5 MB / 1.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04156/5.027, allocations: 6.592 MB / 2.912 GB, free: 97.93 MB / 1.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002052/5.029, allocations: 1.22 MB / 2.914 GB, free: 96.71 MB / 1.714 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 (907): * Single equations (assignments): 891 * 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.00318/5.033, allocations: 0.6748 MB / 2.914 GB, free: 96.02 MB / 1.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003573/5.036, allocations: 1.639 MB / 2.916 GB, free: 95.06 MB / 1.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1034/5.14, allocations: 60.08 MB / 2.974 GB, free: 35.04 MB / 1.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.6706/5.81, allocations: 63.66 MB / 3.037 GB, free: 0.6955 GB / 1.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.579e-05/5.81, allocations: 36.89 kB / 3.037 GB, free: 0.6955 GB / 1.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1109/5.921, allocations: 62.99 MB / 3.098 GB, free: 0.6833 GB / 1.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1525/6.074, allocations: 108.8 MB / 3.204 GB, free: 0.6033 GB / 1.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.085e-05/6.074, allocations: 8.031 kB / 3.204 GB, free: 0.6033 GB / 1.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006374/6.08, allocations: 2.125 MB / 3.207 GB, free: 0.6012 GB / 1.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1596/6.24, allocations: 78.27 MB / 3.283 GB, free: 0.5253 GB / 1.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003144/6.243, allocations: 0.5378 MB / 3.283 GB, free: 0.5247 GB / 1.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05707/6.3, allocations: 54.99 MB / 3.337 GB, free: 482.4 MB / 1.714 GB 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 + 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 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valHea.m_flow ; valCoo.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 ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ] might be structurally or numerically singular for variable valCoo.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. 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 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.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 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.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.04836/6.348, allocations: 46.64 MB / 3.383 GB, free: 435.1 MB / 1.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1336/6.482, allocations: 90.72 MB / 3.471 GB, free: 345.4 MB / 1.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01406/6.496, allocations: 5.54 MB / 3.477 GB, free: 340.7 MB / 1.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00561/6.502, allocations: 168 kB / 3.477 GB, free: 340.6 MB / 1.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0282/6.53, allocations: 3.477 MB / 3.48 GB, free: 337.1 MB / 1.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003911/6.534, allocations: 0.8371 MB / 3.481 GB, free: 336.2 MB / 1.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001395/6.535, allocations: 0.6236 MB / 3.482 GB, free: 335.6 MB / 1.714 GB Notification: Performance of sorting global known variables: time 0.01358/6.549, allocations: 13.43 MB / 3.495 GB, free: 322.3 MB / 1.714 GB Notification: Performance of sort global known variables: time 1.91e-07/6.549, allocations: 4 kB / 3.495 GB, free: 322.3 MB / 1.714 GB Notification: Performance of remove unused functions: time 0.0526/6.601, allocations: 34.55 MB / 3.529 GB, free: 287.7 MB / 1.714 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 42 ($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,pmpNorth.vol.dynBal.U,valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,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 (556): * Single equations (assignments): 535 * 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,166)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1285/6.73, allocations: 92.15 MB / 3.619 GB, free: 196 MB / 1.714 GB Notification: Performance of simCode: created initialization part: time 0.07195/6.802, allocations: 67.3 MB / 3.684 GB, free: 128.6 MB / 1.714 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/6.802, allocations: 4 kB / 3.684 GB, free: 128.6 MB / 1.714 GB Notification: Performance of simCode: created simulation system equations: time 0.02863/6.83, allocations: 22.12 MB / 3.706 GB, free: 106.5 MB / 1.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03032/6.861, allocations: 8.521 MB / 3.714 GB, free: 98.3 MB / 1.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.206/8.067, allocations: 413.1 MB / 4.118 GB, free: 0.4994 GB / 1.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005502/8.072, allocations: 9.69 MB / 4.127 GB, free: 0.4899 GB / 1.714 GB Notification: Performance of simCode: alias equations: time 0.0158/8.088, allocations: 6.714 MB / 4.134 GB, free: 495.1 MB / 1.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01153/8.1, allocations: 10.12 MB / 4.144 GB, free: 485 MB / 1.714 GB Notification: Performance of SimCode: time 9.42e-07/8.1, allocations: 0 / 4.144 GB, free: 485 MB / 1.714 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.088/9.187, allocations: 0.8127 GB / 4.956 GB, free: 454 MB / 1.714 GB Notification: Performance of buildModelFMU: Generate platform static: time 51.83/61.02, allocations: 11.36 kB / 4.956 GB, free: 454 MB / 1.714 GB " [Timeout remaining time 239] (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.csv --start-time 0 --stop-time 1000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 65.24114022497088] Failed to read output from testmodel.py, exit status != 0: 61.37678508460522 61.383523011 59.330122115 Calling exit ...