Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.422/2.422, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 67.91 kB / 1.059 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2723, allocations: 160.7 MB / 1.216 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9068/1.179, allocations: 363.9 MB / 1.571 GB, free: 4.266 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.1131/1.292, allocations: 76.25 MB / 1.645 GB, free: 7.844 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01301/1.305, allocations: 433.5 kB / 1.646 GB, free: 7.418 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.01741/1.323, allocations: 6.615 MB / 1.652 GB, free: 0.7656 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.03921/1.362, allocations: 14.76 MB / 1.667 GB, free: 1.961 MB / 1.326 GB Notification: Performance of NFTyping.typeClassSections: time 0.02346/1.385, allocations: 10.31 MB / 1.677 GB, free: 7.723 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.1004/1.486, allocations: 74.96 MB / 1.75 GB, free: 12.61 MB / 1.42 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02643/1.512, allocations: 15.82 MB / 1.765 GB, free: 12.63 MB / 1.436 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03393/1.546, allocations: 17.48 MB / 1.783 GB, free: 11.13 MB / 1.451 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02926/1.575, allocations: 17.21 MB / 1.799 GB, free: 9.863 MB / 1.467 GB Notification: Performance of NFPackage.collectConstants: time 0.007265/1.583, allocations: 1.969 MB / 1.801 GB, free: 7.895 MB / 1.467 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01817/1.601, allocations: 6.152 MB / 1.807 GB, free: 1.734 MB / 1.467 GB Notification: Performance of NFScalarize.scalarize: time 0.0106/1.611, allocations: 6.693 MB / 1.814 GB, free: 11.02 MB / 1.482 GB Notification: Performance of NFVerifyModel.verify: time 1.208/2.819, allocations: 11.28 MB / 1.825 GB, free: 147.2 MB / 1.483 GB Notification: Performance of NFConvertDAE.convert: time 0.04648/2.866, allocations: 31.53 MB / 1.856 GB, free: 145.4 MB / 1.483 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/2.866, allocations: 0.9375 kB / 1.856 GB, free: 145.4 MB / 1.483 GB Notification: Performance of FrontEnd: time 1.442e-06/2.866, allocations: 0 / 1.856 GB, free: 145.4 MB / 1.483 GB Notification: Performance of Transformations before backend: time 0.0009487/2.867, allocations: 0 / 1.856 GB, free: 145.4 MB / 1.483 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.07373/2.94, allocations: 22.35 MB / 1.877 GB, free: 136.4 MB / 1.483 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/2.94, allocations: 12.98 kB / 1.877 GB, free: 136.4 MB / 1.483 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005514/2.946, allocations: 1.049 MB / 1.878 GB, free: 136.3 MB / 1.483 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01946/2.965, allocations: 3.303 MB / 1.882 GB, free: 135.2 MB / 1.483 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04743/3.013, allocations: 23.18 MB / 1.904 GB, free: 132.1 MB / 1.483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005524/3.013, allocations: 0.6747 MB / 1.905 GB, free: 132 MB / 1.483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004638/3.018, allocations: 0.9397 MB / 1.906 GB, free: 132 MB / 1.483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03124/3.049, allocations: 17.22 MB / 1.923 GB, free: 131.2 MB / 1.483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003088/3.05, allocations: 16.69 kB / 1.923 GB, free: 131.2 MB / 1.483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00303/3.053, allocations: 330.5 kB / 1.923 GB, free: 131.2 MB / 1.483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003541/3.053, allocations: 367.8 kB / 1.923 GB, free: 131.2 MB / 1.483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03982/3.093, allocations: 21.86 MB / 1.945 GB, free: 131.1 MB / 1.483 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.1276/3.22, allocations: 82.36 MB / 2.025 GB, free: 89.71 MB / 1.483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01887/3.239, allocations: 11.86 MB / 2.037 GB, free: 87.43 MB / 1.483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01299/3.252, allocations: 8.95 MB / 2.046 GB, free: 85.85 MB / 1.483 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.06038/3.313, allocations: 34.28 MB / 2.079 GB, free: 57.29 MB / 1.483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01458/3.327, allocations: 10.28 MB / 2.089 GB, free: 46.94 MB / 1.483 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0291/3.356, allocations: 8.259 MB / 2.097 GB, free: 38.91 MB / 1.483 GB Notification: Performance of pre-optimization done (n=567): time 3.036e-05/3.356, allocations: 0 / 2.097 GB, free: 38.91 MB / 1.483 GB Notification: Performance of matching and sorting (n=838): time 0.9351/4.291, allocations: 217.6 MB / 2.31 GB, free: 12.74 MB / 1.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1474/4.439, allocations: 55.88 MB / 2.364 GB, free: 3.863 MB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04163/4.48, allocations: 20.51 MB / 2.384 GB, free: 15.46 MB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.004073/4.485, allocations: 221.7 kB / 2.384 GB, free: 15.23 MB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.01066/4.495, allocations: 7.879 MB / 2.392 GB, free: 7.383 MB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.00849/4.504, allocations: 3.151 MB / 2.395 GB, free: 4.27 MB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01452/4.518, allocations: 4.001 MB / 2.399 GB, free: 260 kB / 1.748 GB Notification: Performance of setup shared object (initialization): time 0.000123/4.518, allocations: 305.1 kB / 2.399 GB, free: 15.95 MB / 1.764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0344/4.553, allocations: 20.26 MB / 2.419 GB, free: 11.66 MB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03814/4.591, allocations: 23.11 MB / 2.442 GB, free: 3.559 MB / 1.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5955/5.186, allocations: 38.6 MB / 2.479 GB, free: 0.7611 GB / 1.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.434e-05/5.186, allocations: 15.09 kB / 2.479 GB, free: 0.7611 GB / 1.811 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.595/5.781, allocations: 134.2 MB / 2.611 GB, free: 0.7081 GB / 1.811 GB Notification: Performance of prepare postOptimizeDAE: time 7.222e-05/5.782, allocations: 57.69 kB / 2.611 GB, free: 0.7081 GB / 1.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.109e-05/5.782, allocations: 52 kB / 2.611 GB, free: 0.708 GB / 1.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5589/6.341, allocations: 117.9 MB / 2.726 GB, free: 0.5932 GB / 1.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01734/6.358, allocations: 3.563 MB / 2.729 GB, free: 0.5897 GB / 1.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.135/6.493, allocations: 81.9 MB / 2.809 GB, free: 0.5097 GB / 1.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09076/6.584, allocations: 6.454 MB / 2.816 GB, free: 0.5034 GB / 1.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005726/6.589, allocations: 1.314 MB / 2.817 GB, free: 0.5021 GB / 1.811 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03735/6.627, allocations: 23.67 MB / 2.84 GB, free: 490.4 MB / 1.811 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02862/6.655, allocations: 22.58 MB / 2.862 GB, free: 466.8 MB / 1.811 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05169/6.707, allocations: 37.59 MB / 2.899 GB, free: 428.4 MB / 1.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.873e-05/6.707, allocations: 20 kB / 2.899 GB, free: 428.4 MB / 1.811 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5665/7.273, allocations: 132.6 MB / 3.028 GB, free: 296.7 MB / 1.811 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/7.274, allocations: 53.7 kB / 3.028 GB, free: 296.7 MB / 1.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.732e-05/7.274, allocations: 52 kB / 3.028 GB, free: 296.6 MB / 1.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5532/7.827, allocations: 117.6 MB / 3.143 GB, free: 179.4 MB / 1.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0159/7.843, allocations: 3.529 MB / 3.147 GB, free: 175.8 MB / 1.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1435/7.986, allocations: 86.16 MB / 3.231 GB, free: 89.58 MB / 1.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08847/8.075, allocations: 6.493 MB / 3.237 GB, free: 83.09 MB / 1.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005493/8.08, allocations: 1.282 MB / 3.238 GB, free: 81.8 MB / 1.811 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1171): * Single equations (assignments): 1151 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.008008/8.088, allocations: 0.7715 MB / 3.239 GB, free: 81.05 MB / 1.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00824/8.097, allocations: 1.705 MB / 3.241 GB, free: 80.12 MB / 1.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7342/8.831, allocations: 60.25 MB / 3.3 GB, free: 0.74 GB / 1.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2213/9.052, allocations: 66.09 MB / 3.364 GB, free: 0.7363 GB / 1.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001563/9.052, allocations: 31.86 kB / 3.364 GB, free: 0.7363 GB / 1.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2082/9.26, allocations: 65.4 MB / 3.428 GB, free: 0.7164 GB / 1.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2789/9.539, allocations: 129.7 MB / 3.555 GB, free: 0.5901 GB / 1.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.822e-05/9.539, allocations: 4 kB / 3.555 GB, free: 0.5901 GB / 1.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01113/9.551, allocations: 1.981 MB / 3.557 GB, free: 0.5882 GB / 1.811 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3159/9.866, allocations: 81.39 MB / 3.636 GB, free: 0.5091 GB / 1.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004111/9.871, allocations: 0.5729 MB / 3.637 GB, free: 0.5085 GB / 1.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09689/9.967, allocations: 58.57 MB / 3.694 GB, free: 462.2 MB / 1.811 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.1022/10.07, allocations: 54.06 MB / 3.747 GB, free: 407.1 MB / 1.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.239/10.31, allocations: 95.32 MB / 3.84 GB, free: 312.9 MB / 1.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01449/10.32, allocations: 6.109 MB / 3.846 GB, free: 307.7 MB / 1.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006565/10.33, allocations: 216 kB / 3.846 GB, free: 307.5 MB / 1.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05177/10.38, allocations: 3.319 MB / 3.849 GB, free: 304.2 MB / 1.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004377/10.39, allocations: 0.8694 MB / 3.85 GB, free: 303.3 MB / 1.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002183/10.39, allocations: 0.6276 MB / 3.851 GB, free: 302.7 MB / 1.811 GB Notification: Performance of sorting global known variables: time 0.02259/10.41, allocations: 14.29 MB / 3.865 GB, free: 288.5 MB / 1.811 GB Notification: Performance of sort global known variables: time 2.01e-07/10.41, allocations: 4 kB / 3.865 GB, free: 288.5 MB / 1.811 GB Notification: Performance of remove unused functions: time 0.08477/10.5, allocations: 38.74 MB / 3.903 GB, free: 249.7 MB / 1.811 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.234/10.73, allocations: 96.83 MB / 3.997 GB, free: 153.3 MB / 1.811 GB Notification: Performance of simCode: created initialization part: time 0.119/10.85, allocations: 74.04 MB / 4.069 GB, free: 79.29 MB / 1.811 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/10.85, allocations: 0 / 4.069 GB, free: 79.29 MB / 1.811 GB Notification: Performance of simCode: created simulation system equations: time 0.04928/10.9, allocations: 23.17 MB / 4.092 GB, free: 56.11 MB / 1.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05457/10.95, allocations: 7.984 MB / 4.1 GB, free: 48.45 MB / 1.811 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.967/12.92, allocations: 443.7 MB / 4.533 GB, free: 466.1 MB / 1.811 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01655/12.94, allocations: 10.45 MB / 4.543 GB, free: 455.6 MB / 1.811 GB Notification: Performance of simCode: alias equations: time 0.02669/12.96, allocations: 7.999 MB / 4.551 GB, free: 447.9 MB / 1.811 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01858/12.98, allocations: 10.36 MB / 4.561 GB, free: 437.5 MB / 1.811 GB Notification: Performance of SimCode: time 1.272e-06/12.98, allocations: 0 / 4.561 GB, free: 437.5 MB / 1.811 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.404/14.39, allocations: 0.8215 GB / 5.383 GB, free: 426.7 MB / 1.811 GB Notification: Performance of buildModelFMU: Generate platform static: time 83.28/97.67, allocations: 11.94 kB / 5.383 GB, free: 426.6 MB / 1.811 GB " [Timeout remaining time 202] (rm -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 103.43353826100065]