Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000807/0.000807, 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.00082/0.00082, 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.9066/0.9066, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.734/1.734, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 3.938 kB / 0.9506 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.081e-05, allocations: 9.375 kB / 0.9506 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.7613/0.7613, allocations: 326.1 MB / 1.269 GB, free: 10.17 MB / 1.073 GB Notification: Performance of NFInst.instExpressions: time 0.08562/0.8469, allocations: 70.85 MB / 1.338 GB, free: 3.164 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02006/0.867, allocations: 0.5927 MB / 1.339 GB, free: 2.566 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 0.01816/0.8852, allocations: 6.461 MB / 1.345 GB, free: 12.07 MB / 1.151 GB Notification: Performance of NFTyping.typeBindings: time 0.04033/0.9255, allocations: 15.48 MB / 1.36 GB, free: 12.52 MB / 1.167 GB Notification: Performance of NFTyping.typeClassSections: time 0.02118/0.9467, allocations: 10.89 MB / 1.371 GB, free: 1.715 MB / 1.167 GB Notification: Performance of NFFlatten.flatten: time 0.08185/1.029, allocations: 87.02 MB / 1.456 GB, free: 10.51 MB / 1.26 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02171/1.05, allocations: 15.89 MB / 1.471 GB, free: 10.46 MB / 1.276 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05577/1.106, allocations: 23.48 MB / 1.494 GB, free: 2.961 MB / 1.292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02791/1.134, allocations: 15.63 MB / 1.51 GB, free: 3.293 MB / 1.307 GB Notification: Performance of NFPackage.collectConstants: time 0.008815/1.143, allocations: 1.832 MB / 1.511 GB, free: 1.461 MB / 1.307 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01731/1.16, allocations: 5.065 MB / 1.516 GB, free: 12.39 MB / 1.323 GB Notification: Performance of NFScalarize.scalarize: time 0.009986/1.17, allocations: 6.65 MB / 1.523 GB, free: 5.715 MB / 1.323 GB Notification: Performance of NFVerifyModel.verify: time 0.01907/1.189, allocations: 7.747 MB / 1.53 GB, free: 13.95 MB / 1.339 GB Notification: Performance of NFConvertDAE.convert: time 1.252/2.441, allocations: 31.87 MB / 1.561 GB, free: 156.8 MB / 1.354 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/2.441, allocations: 0 / 1.561 GB, free: 156.8 MB / 1.354 GB Notification: Performance of FrontEnd: time 1.753e-06/2.441, allocations: 3.344 kB / 1.561 GB, free: 156.8 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.001081/2.442, allocations: 0 / 1.561 GB, free: 156.8 MB / 1.354 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.04371/2.485, allocations: 21.7 MB / 1.583 GB, free: 148.7 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/2.486, allocations: 14.11 kB / 1.583 GB, free: 148.7 MB / 1.354 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002699/2.488, allocations: 1.05 MB / 1.584 GB, free: 148.6 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/2.5, allocations: 3.344 MB / 1.587 GB, free: 147.4 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05798/2.558, allocations: 22.96 MB / 1.609 GB, free: 144 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009317/2.559, allocations: 0.6677 MB / 1.61 GB, free: 143.9 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008826/2.567, allocations: 0.9322 MB / 1.611 GB, free: 143.9 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04409/2.611, allocations: 18.18 MB / 1.629 GB, free: 142 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002609/2.612, allocations: 11.97 kB / 1.629 GB, free: 142 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002216/2.614, allocations: 331.5 kB / 1.629 GB, free: 142 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000393/2.614, allocations: 369.7 kB / 1.629 GB, free: 142 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02966/2.644, allocations: 21.85 MB / 1.651 GB, free: 141.9 MB / 1.354 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.1222/2.766, allocations: 63.92 MB / 1.713 GB, free: 125.2 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02294/2.789, allocations: 11.69 MB / 1.725 GB, free: 125 MB / 1.354 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0133/2.802, allocations: 8.968 MB / 1.733 GB, free: 122.6 MB / 1.354 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.06114/2.864, allocations: 29.58 MB / 1.762 GB, free: 99.92 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01585/2.879, allocations: 11.23 MB / 1.773 GB, free: 88.4 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02122/2.901, allocations: 8.212 MB / 1.781 GB, free: 80.43 MB / 1.354 GB Notification: Performance of pre-optimization done (n=567): time 4.181e-05/2.901, allocations: 3.469 kB / 1.781 GB, free: 80.43 MB / 1.354 GB Notification: Performance of matching and sorting (n=838): time 0.5474/3.448, allocations: 217.6 MB / 1.994 GB, free: 6.289 MB / 1.495 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.08245/3.531, allocations: 54.32 MB / 2.047 GB, free: 15.14 MB / 1.557 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02966/3.56, allocations: 20.09 MB / 2.066 GB, free: 11.16 MB / 1.573 GB Notification: Performance of collectPreVariables (initialization): time 0.003995/3.564, allocations: 223 kB / 2.066 GB, free: 10.94 MB / 1.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.008287/3.572, allocations: 8.219 MB / 2.075 GB, free: 2.734 MB / 1.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00662/3.579, allocations: 3.089 MB / 2.078 GB, free: 15.68 MB / 1.589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007224/3.586, allocations: 3.528 MB / 2.081 GB, free: 12.14 MB / 1.589 GB Notification: Performance of setup shared object (initialization): time 6.989e-05/3.586, allocations: 301.1 kB / 2.081 GB, free: 11.84 MB / 1.589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02388/3.61, allocations: 19.42 MB / 2.1 GB, free: 8.398 MB / 1.604 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02662/3.637, allocations: 24.28 MB / 2.124 GB, free: 14.61 MB / 1.636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5404/4.177, allocations: 37 MB / 2.16 GB, free: 0.7037 GB / 1.651 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.369e-05/4.177, allocations: 14.62 kB / 2.16 GB, free: 0.7037 GB / 1.651 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.3423/4.52, allocations: 132.2 MB / 2.289 GB, free: 0.6615 GB / 1.651 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-05/4.52, allocations: 56.05 kB / 2.289 GB, free: 0.6614 GB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.256e-05/4.52, allocations: 52 kB / 2.289 GB, free: 0.6614 GB / 1.651 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2933/4.813, allocations: 117.8 MB / 2.404 GB, free: 0.5467 GB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01057/4.824, allocations: 3.359 MB / 2.408 GB, free: 0.5434 GB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09075/4.914, allocations: 80.98 MB / 2.487 GB, free: 475.5 MB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04702/4.961, allocations: 6.424 MB / 2.493 GB, free: 469 MB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005126/4.967, allocations: 1.267 MB / 2.494 GB, free: 467.8 MB / 1.651 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03002/4.997, allocations: 22.83 MB / 2.517 GB, free: 444.9 MB / 1.651 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02243/5.019, allocations: 23.75 MB / 2.54 GB, free: 419.6 MB / 1.651 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04015/5.059, allocations: 35.97 MB / 2.575 GB, free: 382.8 MB / 1.651 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.385e-05/5.059, allocations: 12 kB / 2.575 GB, free: 382.8 MB / 1.651 GB Notification: Performance of matching and sorting (n=1355) (initialization_lambda0): time 0.3286/5.388, allocations: 130.6 MB / 2.702 GB, free: 253.2 MB / 1.651 GB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/5.388, allocations: 57.7 kB / 2.703 GB, free: 253.1 MB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.623e-05/5.388, allocations: 55.98 kB / 2.703 GB, free: 253.1 MB / 1.651 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3034/5.691, allocations: 117.5 MB / 2.817 GB, free: 135.9 MB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009647/5.701, allocations: 3.336 MB / 2.821 GB, free: 132.6 MB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09547/5.796, allocations: 84.24 MB / 2.903 GB, free: 48.45 MB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04701/5.843, allocations: 6.469 MB / 2.909 GB, free: 41.98 MB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004704/5.848, allocations: 1.236 MB / 2.91 GB, free: 40.75 MB / 1.651 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.006448/5.855, allocations: 0.7268 MB / 2.911 GB, free: 40.05 MB / 1.651 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007102/5.862, allocations: 1.745 MB / 2.913 GB, free: 39.16 MB / 1.651 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6379/6.5, allocations: 60.38 MB / 2.972 GB, free: 0.6889 GB / 1.651 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1433/6.643, allocations: 66.11 MB / 3.036 GB, free: 0.6784 GB / 1.651 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001276/6.643, allocations: 30.62 kB / 3.036 GB, free: 0.6784 GB / 1.651 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1335/6.777, allocations: 65.43 MB / 3.1 GB, free: 0.633 GB / 1.651 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.178/6.954, allocations: 111.1 MB / 3.209 GB, free: 0.525 GB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001033/6.955, allocations: 0 / 3.209 GB, free: 0.525 GB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007785/6.962, allocations: 1.981 MB / 3.211 GB, free: 0.5231 GB / 1.651 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1721/7.134, allocations: 81.29 MB / 3.29 GB, free: 454.8 MB / 1.651 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003999/7.138, allocations: 0.569 MB / 3.291 GB, free: 454.2 MB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06601/7.204, allocations: 57.92 MB / 3.347 GB, free: 396.3 MB / 1.651 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.06443/7.269, allocations: 51.93 MB / 3.398 GB, free: 343.7 MB / 1.651 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1528/7.422, allocations: 95.4 MB / 3.491 GB, free: 249.3 MB / 1.651 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0153/7.437, allocations: 6.165 MB / 3.497 GB, free: 244.1 MB / 1.651 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006597/7.444, allocations: 212 kB / 3.497 GB, free: 243.9 MB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0287/7.472, allocations: 3.315 MB / 3.501 GB, free: 240.6 MB / 1.651 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00447/7.477, allocations: 0.8963 MB / 3.501 GB, free: 239.7 MB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003273/7.48, allocations: 0.6276 MB / 3.502 GB, free: 239.1 MB / 1.651 GB Notification: Performance of sorting global known variables: time 0.02069/7.501, allocations: 14.08 MB / 3.516 GB, free: 225.1 MB / 1.651 GB Notification: Performance of sort global known variables: time 4.31e-07/7.501, allocations: 0 / 3.516 GB, free: 225.1 MB / 1.651 GB Notification: Performance of remove unused functions: time 0.06249/7.563, allocations: 38.38 MB / 3.553 GB, free: 186.7 MB / 1.651 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.1489/7.712, allocations: 96.74 MB / 3.648 GB, free: 90.46 MB / 1.651 GB Notification: Performance of simCode: created initialization part: time 0.08767/7.8, allocations: 71.93 MB / 3.718 GB, free: 18.49 MB / 1.651 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/7.8, allocations: 4 kB / 3.718 GB, free: 18.49 MB / 1.651 GB Notification: Performance of simCode: created simulation system equations: time 0.4874/8.287, allocations: 23.17 MB / 3.741 GB, free: 0.7026 GB / 1.651 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04136/8.329, allocations: 8.417 MB / 3.749 GB, free: 0.7018 GB / 1.651 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9503/9.279, allocations: 431.3 MB / 4.17 GB, free: 373.8 MB / 1.651 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01868/9.298, allocations: 10.3 MB / 4.18 GB, free: 363.5 MB / 1.651 GB Notification: Performance of simCode: alias equations: time 0.02697/9.325, allocations: 7.912 MB / 4.188 GB, free: 355.6 MB / 1.651 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01951/9.344, allocations: 10.5 MB / 4.198 GB, free: 345.1 MB / 1.651 GB Notification: Performance of SimCode: time 1.403e-06/9.344, allocations: 0 / 4.198 GB, free: 345.1 MB / 1.651 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.309/10.65, allocations: 0.8459 GB / 5.044 GB, free: 262 MB / 1.651 GB Notification: Performance of buildModelFMU: Generate platform static: time 59.1/69.76, allocations: 7.891 kB / 5.044 GB, free: 262 MB / 1.651 GB " [Timeout remaining time 230] (rm -f Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.csv --start-time 0 --stop-time 1000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 74.49476476479322] Failed to read output from testmodel.py, exit status != 0: 70.15244067553431 70.165704294 67.722070131 Calling exit ...