Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007138/0.007139, allocations: 99.31 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 188.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 62.72 kB / 0.9505 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3007, allocations: 140.4 MB / 1.088 GB, free: 1.891 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpSouth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpNorth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9715/1.272, allocations: 355.6 MB / 1.435 GB, free: 3.945 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1058/1.378, allocations: 72.94 MB / 1.506 GB, free: 11.99 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01977/1.398, allocations: 429.5 kB / 1.506 GB, free: 11.57 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.01719/1.415, allocations: 5.315 MB / 1.512 GB, free: 6.223 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.04066/1.456, allocations: 13.53 MB / 1.525 GB, free: 8.648 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.025/1.481, allocations: 9.778 MB / 1.534 GB, free: 14.89 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.04965/1.53, allocations: 37.53 MB / 1.571 GB, free: 9.234 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03221/1.563, allocations: 19.78 MB / 1.59 GB, free: 5.293 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03676/1.6, allocations: 17.1 MB / 1.607 GB, free: 4.172 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03129/1.631, allocations: 15.84 MB / 1.623 GB, free: 4.281 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.009166/1.64, allocations: 1.859 MB / 1.624 GB, free: 2.422 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01977/1.66, allocations: 5.7 MB / 1.63 GB, free: 12.71 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.00969/1.67, allocations: 5.771 MB / 1.636 GB, free: 6.926 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0219/1.692, allocations: 10.39 MB / 1.646 GB, free: 12.49 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.04589/1.737, allocations: 29 MB / 1.674 GB, free: 15.41 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.738, allocations: 4 kB / 1.674 GB, free: 15.4 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.276e-06/1.738, allocations: 0 / 1.674 GB, free: 15.4 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0008958/1.738, allocations: 7.938 kB / 1.674 GB, free: 15.39 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.06353/1.802, allocations: 22.24 MB / 1.696 GB, free: 8.984 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/1.802, allocations: 12.03 kB / 1.696 GB, free: 8.973 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004307/1.806, allocations: 1.037 MB / 1.697 GB, free: 7.926 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/1.821, allocations: 2.59 MB / 1.699 GB, free: 5.312 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04305/1.864, allocations: 18.12 MB / 1.717 GB, free: 3.062 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008181/1.865, allocations: 0.6637 MB / 1.718 GB, free: 2.398 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005247/1.87, allocations: 0.9216 MB / 1.719 GB, free: 1.477 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04081/1.911, allocations: 16.52 MB / 1.735 GB, free: 0.7383 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004173/1.912, allocations: 19.78 kB / 1.735 GB, free: 0.7188 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005727/1.917, allocations: 328 kB / 1.735 GB, free: 408 kB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004674/1.918, allocations: 363.3 kB / 1.735 GB, free: 44 kB / 1.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04299/1.961, allocations: 21.04 MB / 1.756 GB, free: 10.98 MB / 1.373 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 1.303/3.264, allocations: 82.1 MB / 1.836 GB, free: 489.9 MB / 1.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02532/3.289, allocations: 12.55 MB / 1.848 GB, free: 484.6 MB / 1.404 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01891/3.308, allocations: 9.86 MB / 1.858 GB, free: 480.5 MB / 1.404 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.07648/3.385, allocations: 34.52 MB / 1.892 GB, free: 457.4 MB / 1.404 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01897/3.404, allocations: 9.683 MB / 1.901 GB, free: 451.5 MB / 1.404 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02072/3.425, allocations: 5.757 MB / 1.907 GB, free: 449.7 MB / 1.404 GB Notification: Performance of pre-optimization done (n=551): time 4.264e-05/3.425, allocations: 0 / 1.907 GB, free: 449.7 MB / 1.404 GB Notification: Performance of matching and sorting (n=822): time 0.9403/4.365, allocations: 217.1 MB / 2.119 GB, free: 235.8 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1578/4.523, allocations: 55.94 MB / 2.173 GB, free: 178.8 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03486/4.558, allocations: 17.64 MB / 2.191 GB, free: 161.3 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.004755/4.563, allocations: 217.5 kB / 2.191 GB, free: 161.1 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.009665/4.573, allocations: 7.195 MB / 2.198 GB, free: 153.9 MB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.009486/4.582, allocations: 2.924 MB / 2.201 GB, free: 151 MB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01819/4.6, allocations: 3.54 MB / 2.204 GB, free: 147.4 MB / 1.404 GB Notification: Performance of setup shared object (initialization): time 5.198e-05/4.6, allocations: 301.1 kB / 2.204 GB, free: 147.1 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03031/4.631, allocations: 18.97 MB / 2.223 GB, free: 128.1 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03278/4.664, allocations: 21.54 MB / 2.244 GB, free: 105.6 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06212/4.726, allocations: 36.2 MB / 2.279 GB, free: 68.55 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.051e-05/4.726, allocations: 16 kB / 2.279 GB, free: 68.53 MB / 1.404 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 1.871/6.597, allocations: 131.5 MB / 2.408 GB, free: 459.5 MB / 1.405 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001643/6.597, allocations: 58.97 kB / 2.408 GB, free: 459.5 MB / 1.405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/6.597, allocations: 54.5 kB / 2.408 GB, free: 459.5 MB / 1.405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6028/7.2, allocations: 118 MB / 2.523 GB, free: 374.2 MB / 1.405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01735/7.217, allocations: 3.299 MB / 2.526 GB, free: 371 MB / 1.405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1659/7.383, allocations: 81.55 MB / 2.606 GB, free: 289.4 MB / 1.405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09271/7.476, allocations: 6.353 MB / 2.612 GB, free: 283 MB / 1.405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005397/7.481, allocations: 1.282 MB / 2.613 GB, free: 281.7 MB / 1.405 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03363/7.515, allocations: 22 MB / 2.635 GB, free: 259.7 MB / 1.405 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02875/7.544, allocations: 21.09 MB / 2.656 GB, free: 237.6 MB / 1.405 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05427/7.598, allocations: 35.31 MB / 2.69 GB, free: 201.4 MB / 1.405 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.389e-05/7.598, allocations: 16 kB / 2.69 GB, free: 201.4 MB / 1.405 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.612/8.21, allocations: 130.1 MB / 2.817 GB, free: 72.05 MB / 1.405 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/8.21, allocations: 57.88 kB / 2.817 GB, free: 71.98 MB / 1.405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-05/8.21, allocations: 59.94 kB / 2.817 GB, free: 71.93 MB / 1.405 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183/9.393, allocations: 117.6 MB / 2.932 GB, free: 448.5 MB / 1.405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0162/9.41, allocations: 3.284 MB / 2.935 GB, free: 448.4 MB / 1.405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1699/9.579, allocations: 86.1 MB / 3.019 GB, free: 398.3 MB / 1.405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09271/9.672, allocations: 6.381 MB / 3.026 GB, free: 392 MB / 1.405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006575/9.679, allocations: 1.251 MB / 3.027 GB, free: 390.7 MB / 1.405 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1027): * Single equations (assignments): 1011 * 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.009571/9.688, allocations: 0.7219 MB / 3.027 GB, free: 390 MB / 1.405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009705/9.698, allocations: 1.466 MB / 3.029 GB, free: 389.3 MB / 1.405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2196/9.918, allocations: 60.24 MB / 3.088 GB, free: 329.4 MB / 1.405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.216/10.13, allocations: 66.72 MB / 3.153 GB, free: 262.8 MB / 1.405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001706/10.13, allocations: 28 kB / 3.153 GB, free: 262.8 MB / 1.405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2086/10.34, allocations: 66.06 MB / 3.217 GB, free: 196.7 MB / 1.405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2916/10.63, allocations: 129 MB / 3.343 GB, free: 67.79 MB / 1.405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.333e-05/10.63, allocations: 0 / 3.343 GB, free: 67.79 MB / 1.405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01107/10.65, allocations: 1.907 MB / 3.345 GB, free: 65.88 MB / 1.405 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.9294/11.57, allocations: 81.37 MB / 3.425 GB, free: 446.7 MB / 1.405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003456/11.58, allocations: 0.564 MB / 3.425 GB, free: 446.7 MB / 1.405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09696/11.68, allocations: 58.3 MB / 3.482 GB, free: 433.1 MB / 1.405 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 2 : 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 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 ] * [ valHea.m_flow ; valCoo.m_flow ; spl1.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 ; (-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 : 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. 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.1057/11.78, allocations: 54 MB / 3.535 GB, free: 403 MB / 1.405 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.243/12.02, allocations: 95.17 MB / 3.628 GB, free: 308.8 MB / 1.405 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02125/12.05, allocations: 5.735 MB / 3.634 GB, free: 303.9 MB / 1.405 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008491/12.05, allocations: 219.9 kB / 3.634 GB, free: 303.6 MB / 1.405 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05331/12.11, allocations: 3.247 MB / 3.637 GB, free: 300.4 MB / 1.405 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005911/12.11, allocations: 0.8654 MB / 3.638 GB, free: 299.5 MB / 1.405 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004019/12.12, allocations: 0.6159 MB / 3.638 GB, free: 298.9 MB / 1.405 GB Notification: Performance of sorting global known variables: time 0.02225/12.14, allocations: 12.36 MB / 3.65 GB, free: 286.6 MB / 1.405 GB Notification: Performance of sort global known variables: time 6.41e-07/12.14, allocations: 0 / 3.65 GB, free: 286.6 MB / 1.405 GB Notification: Performance of remove unused functions: time 0.08967/12.23, allocations: 38.12 MB / 3.688 GB, free: 248.6 MB / 1.405 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 (605): * Single equations (assignments): 584 * 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.2544/12.48, allocations: 96.53 MB / 3.782 GB, free: 152.6 MB / 1.405 GB Notification: Performance of simCode: created initialization part: time 0.1291/12.61, allocations: 74.39 MB / 3.855 GB, free: 78.17 MB / 1.405 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/12.61, allocations: 0 / 3.855 GB, free: 78.17 MB / 1.405 GB Notification: Performance of simCode: created simulation system equations: time 0.05408/12.67, allocations: 25.32 MB / 3.879 GB, free: 52.84 MB / 1.405 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05716/12.72, allocations: 7.176 MB / 3.886 GB, free: 45.86 MB / 1.405 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.159/14.88, allocations: 426.1 MB / 4.302 GB, free: 161.9 MB / 1.405 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01925/14.9, allocations: 9.729 MB / 4.312 GB, free: 152.1 MB / 1.405 GB Notification: Performance of simCode: alias equations: time 0.03255/14.94, allocations: 7.468 MB / 4.319 GB, free: 144.9 MB / 1.405 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02525/14.96, allocations: 9.615 MB / 4.329 GB, free: 135.2 MB / 1.405 GB Notification: Performance of SimCode: time 1.332e-06/14.96, allocations: 4 kB / 4.329 GB, free: 135.2 MB / 1.405 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.476/17.44, allocations: 0.7834 GB / 5.112 GB, free: 383.5 MB / 1.405 GB Notification: Performance of buildModelFMU: Generate platform static: time 94.52/112, allocations: 1.875 kB / 5.112 GB, free: 383.5 MB / 1.405 GB (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat does not exist to compare? outputFormat=mat