Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00154/0.00154, allocations: 95.77 kB / 18.94 MB, free: 2.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 219.8 kB / 22.24 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.374/1.374, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.952/2.952, allocations: 0.49 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 69.92 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3238, allocations: 176.1 MB / 1.326 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.099/1.423, allocations: 329 MB / 1.647 GB, free: 58.61 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.1003/1.523, allocations: 70.68 MB / 1.716 GB, free: 55.73 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01827/1.541, allocations: 0.5999 MB / 1.717 GB, free: 55.73 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01945/1.561, allocations: 6.388 MB / 1.723 GB, free: 54.49 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.04325/1.604, allocations: 14.98 MB / 1.738 GB, free: 49.24 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02561/1.63, allocations: 10.51 MB / 1.748 GB, free: 43.94 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.06463/1.694, allocations: 56.18 MB / 1.803 GB, free: 7.766 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02602/1.72, allocations: 15.46 MB / 1.818 GB, free: 8.922 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04569/1.766, allocations: 18.38 MB / 1.836 GB, free: 7.504 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03097/1.797, allocations: 16.14 MB / 1.852 GB, free: 8.422 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.008307/1.805, allocations: 1.75 MB / 1.853 GB, free: 6.672 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0199/1.825, allocations: 5.188 MB / 1.858 GB, free: 1.699 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.01126/1.836, allocations: 6.103 MB / 1.864 GB, free: 11.82 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.02242/1.859, allocations: 8.78 MB / 1.873 GB, free: 3.246 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.05188/1.911, allocations: 29.72 MB / 1.902 GB, free: 6.672 MB / 1.389 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.911, allocations: 0 / 1.902 GB, free: 6.672 MB / 1.389 GB Notification: Performance of FrontEnd: time 2.024e-06/1.911, allocations: 0 / 1.902 GB, free: 6.672 MB / 1.389 GB Notification: Performance of Transformations before backend: time 0.001034/1.912, allocations: 0 / 1.902 GB, free: 6.672 MB / 1.389 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.0689/1.981, allocations: 20.8 MB / 1.922 GB, free: 1.941 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/1.981, allocations: 8.031 kB / 1.922 GB, free: 1.934 MB / 1.404 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006503/1.987, allocations: 1.011 MB / 1.923 GB, free: 0.9141 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01972/2.007, allocations: 3.22 MB / 1.926 GB, free: 13.68 MB / 1.42 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05186/2.059, allocations: 21.43 MB / 1.947 GB, free: 8.527 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008718/2.06, allocations: 0.6425 MB / 1.948 GB, free: 7.887 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004872/2.064, allocations: 0.8813 MB / 1.949 GB, free: 7.008 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04522/2.11, allocations: 18.07 MB / 1.966 GB, free: 4.492 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003742/2.11, allocations: 15.83 kB / 1.966 GB, free: 4.477 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003899/2.114, allocations: 322.5 kB / 1.967 GB, free: 4.164 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000245/2.114, allocations: 207.9 kB / 1.967 GB, free: 3.961 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04646/2.161, allocations: 21.38 MB / 1.988 GB, free: 14.57 MB / 1.482 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.1503/2.311, allocations: 62.67 MB / 2.049 GB, free: 100 kB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02581/2.337, allocations: 12.3 MB / 2.061 GB, free: 4.082 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01868/2.355, allocations: 9.199 MB / 2.07 GB, free: 10.87 MB / 1.561 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.07675/2.432, allocations: 29 MB / 2.098 GB, free: 13.93 MB / 1.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02192/2.454, allocations: 11.45 MB / 2.11 GB, free: 2.223 MB / 1.592 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02994/2.484, allocations: 8.216 MB / 2.118 GB, free: 10.18 MB / 1.607 GB Notification: Performance of pre-optimization done (n=503): time 3.131e-05/2.484, allocations: 4 kB / 2.118 GB, free: 10.17 MB / 1.607 GB Notification: Performance of matching and sorting (n=742): time 1.635/4.119, allocations: 218 MB / 2.33 GB, free: 0.6424 GB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1067/4.226, allocations: 47.6 MB / 2.377 GB, free: 0.6077 GB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0296/4.255, allocations: 19.53 MB / 2.396 GB, free: 0.5889 GB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.003657/4.259, allocations: 201.7 kB / 2.396 GB, free: 0.5887 GB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.007774/4.267, allocations: 7.662 MB / 2.404 GB, free: 0.5827 GB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.00699/4.274, allocations: 2.755 MB / 2.406 GB, free: 0.5814 GB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01271/4.286, allocations: 3.785 MB / 2.41 GB, free: 0.5777 GB / 1.748 GB Notification: Performance of setup shared object (initialization): time 3.738e-05/4.287, allocations: 313.1 kB / 2.41 GB, free: 0.5774 GB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02696/4.313, allocations: 19.49 MB / 2.429 GB, free: 0.5584 GB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02905/4.343, allocations: 24.42 MB / 2.453 GB, free: 0.533 GB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05343/4.396, allocations: 37.37 MB / 2.49 GB, free: 0.4958 GB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.198e-05/4.396, allocations: 16 kB / 2.49 GB, free: 0.4957 GB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.5584/4.954, allocations: 132.3 MB / 2.619 GB, free: 375.3 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/4.954, allocations: 54.64 kB / 2.619 GB, free: 375.2 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.885e-05/4.955, allocations: 52 kB / 2.619 GB, free: 375.1 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5432/5.498, allocations: 117.9 MB / 2.734 GB, free: 257.4 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01607/5.514, allocations: 3.174 MB / 2.737 GB, free: 254.2 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1314/5.645, allocations: 80.94 MB / 2.816 GB, free: 172.9 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0843/5.73, allocations: 6.565 MB / 2.823 GB, free: 166.3 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006255/5.736, allocations: 1.298 MB / 2.824 GB, free: 165 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03887/5.775, allocations: 22.58 MB / 2.846 GB, free: 142.4 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03135/5.806, allocations: 23.9 MB / 2.869 GB, free: 117 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05237/5.858, allocations: 36.32 MB / 2.905 GB, free: 79.88 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.854e-05/5.858, allocations: 20 kB / 2.905 GB, free: 79.86 MB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 1.323/7.182, allocations: 130.7 MB / 3.033 GB, free: 0.627 GB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-05/7.182, allocations: 56.36 kB / 3.033 GB, free: 0.6269 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.261e-05/7.182, allocations: 51.84 kB / 3.033 GB, free: 0.6269 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5322/7.714, allocations: 117.5 MB / 3.147 GB, free: 0.5415 GB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01413/7.728, allocations: 3.149 MB / 3.15 GB, free: 0.5385 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1428/7.871, allocations: 84.21 MB / 3.233 GB, free: 467.4 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08059/7.952, allocations: 6.612 MB / 3.239 GB, free: 460.8 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0053/7.957, allocations: 1.263 MB / 3.24 GB, free: 459.5 MB / 1.748 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1023 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.007485/7.964, allocations: 0.7238 MB / 3.241 GB, free: 458.8 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008553/7.973, allocations: 1.616 MB / 3.243 GB, free: 458.1 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2/8.173, allocations: 59.98 MB / 3.301 GB, free: 398.4 MB / 1.748 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1946/8.368, allocations: 63.68 MB / 3.363 GB, free: 334.9 MB / 1.748 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001422/8.368, allocations: 28.98 kB / 3.363 GB, free: 334.9 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.185/8.553, allocations: 62.99 MB / 3.425 GB, free: 271.9 MB / 1.748 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2563/8.809, allocations: 108.9 MB / 3.531 GB, free: 163.1 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.932e-05/8.809, allocations: 0 / 3.531 GB, free: 163.1 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01051/8.82, allocations: 2.133 MB / 3.533 GB, free: 161 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2887/9.108, allocations: 78.25 MB / 3.61 GB, free: 82.83 MB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003104/9.111, allocations: 0.5371 MB / 3.61 GB, free: 82.3 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08935/9.201, allocations: 55 MB / 3.664 GB, free: 27.28 MB / 1.748 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.8313/10.03, allocations: 46.64 MB / 3.71 GB, free: 0.6147 GB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2323/10.26, allocations: 90.7 MB / 3.798 GB, free: 0.5887 GB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01798/10.28, allocations: 5.571 MB / 3.804 GB, free: 0.5849 GB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006367/10.29, allocations: 158 kB / 3.804 GB, free: 0.5848 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04819/10.34, allocations: 3.476 MB / 3.807 GB, free: 0.5832 GB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005011/10.34, allocations: 0.8457 MB / 3.808 GB, free: 0.5828 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003562/10.35, allocations: 0.6167 MB / 3.809 GB, free: 0.5822 GB / 1.748 GB Notification: Performance of sorting global known variables: time 0.02128/10.37, allocations: 13.54 MB / 3.822 GB, free: 0.5691 GB / 1.748 GB Notification: Performance of sort global known variables: time 3.31e-07/10.37, allocations: 0 / 3.822 GB, free: 0.5691 GB / 1.748 GB Notification: Performance of remove unused functions: time 0.07423/10.44, allocations: 34.87 MB / 3.856 GB, free: 0.5352 GB / 1.748 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.2207/10.66, allocations: 92.22 MB / 3.946 GB, free: 456.9 MB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.1113/10.77, allocations: 69.46 MB / 4.014 GB, free: 387.4 MB / 1.748 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/10.77, allocations: 4 kB / 4.014 GB, free: 387.4 MB / 1.748 GB Notification: Performance of simCode: created simulation system equations: time 0.047/10.82, allocations: 22.09 MB / 4.035 GB, free: 365.3 MB / 1.748 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05013/10.87, allocations: 8.113 MB / 4.043 GB, free: 357.6 MB / 1.748 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.579/13.45, allocations: 424 MB / 4.457 GB, free: 0.5987 GB / 1.748 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01175/13.46, allocations: 9.636 MB / 4.467 GB, free: 0.5948 GB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.02326/13.48, allocations: 6.781 MB / 4.473 GB, free: 0.5929 GB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01858/13.5, allocations: 10.05 MB / 4.483 GB, free: 0.5899 GB / 1.748 GB Notification: Performance of SimCode: time 1.142e-06/13.5, allocations: 0 / 4.483 GB, free: 0.5899 GB / 1.748 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.56/15.06, allocations: 0.8093 GB / 5.292 GB, free: 0.4897 GB / 1.748 GB Notification: Performance of buildModelFMU: Generate platform static: time 86.04/101.1, allocations: 6.875 kB / 5.292 GB, free: 0.4897 GB / 1.748 GB " [Timeout remaining time 198] (rm -f Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 107.7970792450069] Failed to read output from testmodel.py, exit status != 0: 101.58282320800936 101.593211254 99.679934803 Calling exit ...