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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005533/0.005533, allocations: 101.4 kB / 15.73 MB, free: 5.953 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.001272/0.001272, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.91 kB / 1.018 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2781, allocations: 151.6 MB / 1.166 GB, free: 7.199 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.099/1.377, allocations: 357.8 MB / 1.516 GB, free: 208 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.1102/1.488, allocations: 75.85 MB / 1.59 GB, free: 4.172 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01756/1.505, allocations: 433.5 kB / 1.59 GB, free: 3.746 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.02143/1.527, allocations: 6.553 MB / 1.597 GB, free: 13.16 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.04457/1.571, allocations: 14.75 MB / 1.611 GB, free: 14.36 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02744/1.599, allocations: 10.2 MB / 1.621 GB, free: 4.23 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.1071/1.706, allocations: 74.25 MB / 1.693 GB, free: 9.832 MB / 1.357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03723/1.743, allocations: 20.02 MB / 1.713 GB, free: 5.652 MB / 1.373 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03895/1.782, allocations: 17.43 MB / 1.73 GB, free: 4.203 MB / 1.389 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03045/1.813, allocations: 16.38 MB / 1.746 GB, free: 3.762 MB / 1.404 GB Notification: Performance of NFPackage.collectConstants: time 0.00934/1.822, allocations: 1.953 MB / 1.748 GB, free: 1.809 MB / 1.404 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0221/1.844, allocations: 6.059 MB / 1.754 GB, free: 11.74 MB / 1.42 GB Notification: Performance of NFScalarize.scalarize: time 0.01215/1.856, allocations: 6.496 MB / 1.76 GB, free: 5.227 MB / 1.42 GB Notification: Performance of NFVerifyModel.verify: time 0.02609/1.883, allocations: 11.25 MB / 1.771 GB, free: 9.926 MB / 1.436 GB Notification: Performance of NFConvertDAE.convert: time 0.05578/1.938, allocations: 31.31 MB / 1.802 GB, free: 10.53 MB / 1.467 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/1.938, allocations: 0 / 1.802 GB, free: 10.53 MB / 1.467 GB Notification: Performance of FrontEnd: time 2.225e-06/1.938, allocations: 4 kB / 1.802 GB, free: 10.52 MB / 1.467 GB Notification: Performance of Transformations before backend: time 0.00104/1.939, allocations: 0 / 1.802 GB, free: 10.52 MB / 1.467 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 1.223/3.162, allocations: 24.05 MB / 1.825 GB, free: 0.5057 GB / 1.467 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/3.162, allocations: 9.906 kB / 1.825 GB, free: 0.5057 GB / 1.467 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005945/3.168, allocations: 1.051 MB / 1.826 GB, free: 0.5051 GB / 1.467 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02167/3.19, allocations: 3.198 MB / 1.829 GB, free: 0.5041 GB / 1.467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05985/3.25, allocations: 22.99 MB / 1.852 GB, free: 0.4946 GB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001094/3.251, allocations: 0.6732 MB / 1.852 GB, free: 0.4943 GB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007193/3.258, allocations: 0.937 MB / 1.853 GB, free: 0.494 GB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05759/3.316, allocations: 17.07 MB / 1.87 GB, free: 497.7 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005352/3.316, allocations: 9.594 kB / 1.87 GB, free: 497.7 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005216/3.322, allocations: 336.3 kB / 1.87 GB, free: 497.4 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005433/3.322, allocations: 369.2 kB / 1.871 GB, free: 497.4 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04408/3.366, allocations: 21.5 MB / 1.892 GB, free: 487.4 MB / 1.467 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.1484/3.515, allocations: 83.99 MB / 1.974 GB, free: 401.4 MB / 1.467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02132/3.536, allocations: 13.03 MB / 1.986 GB, free: 388.6 MB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01528/3.551, allocations: 10.07 MB / 1.996 GB, free: 378.6 MB / 1.467 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.07289/3.624, allocations: 35.55 MB / 2.031 GB, free: 342.9 MB / 1.467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01809/3.642, allocations: 10.15 MB / 2.041 GB, free: 332.7 MB / 1.467 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02271/3.665, allocations: 5.811 MB / 2.047 GB, free: 327.1 MB / 1.467 GB Notification: Performance of pre-optimization done (n=567): time 4.681e-05/3.665, allocations: 0 / 2.047 GB, free: 327.1 MB / 1.467 GB Notification: Performance of matching and sorting (n=838): time 0.8502/4.516, allocations: 217.8 MB / 2.259 GB, free: 108.2 MB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.126/4.642, allocations: 55.93 MB / 2.314 GB, free: 50.99 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03165/4.673, allocations: 20.49 MB / 2.334 GB, free: 30.59 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.004826/4.678, allocations: 225.7 kB / 2.334 GB, free: 30.36 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.008966/4.687, allocations: 7.786 MB / 2.342 GB, free: 22.54 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.008536/4.696, allocations: 2.997 MB / 2.345 GB, free: 19.5 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01601/4.712, allocations: 3.992 MB / 2.349 GB, free: 15.49 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 4.684e-05/4.712, allocations: 309 kB / 2.349 GB, free: 15.19 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268/5.979, allocations: 20.27 MB / 2.369 GB, free: 469 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0459/6.025, allocations: 23.1 MB / 2.391 GB, free: 463.9 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06997/6.095, allocations: 38.61 MB / 2.429 GB, free: 449.6 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001273/6.096, allocations: 14.53 kB / 2.429 GB, free: 449.6 MB / 1.467 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5633/6.659, allocations: 134.6 MB / 2.56 GB, free: 352.5 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 9.375e-05/6.659, allocations: 57.69 kB / 2.56 GB, free: 352.4 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.253e-05/6.659, allocations: 52 kB / 2.56 GB, free: 352.4 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5368/7.196, allocations: 118 MB / 2.676 GB, free: 234.8 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01775/7.214, allocations: 3.553 MB / 2.679 GB, free: 231.2 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1404/7.354, allocations: 81.88 MB / 2.759 GB, free: 149.3 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0792/7.433, allocations: 6.448 MB / 2.765 GB, free: 142.8 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007344/7.441, allocations: 1.314 MB / 2.767 GB, free: 141.5 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04105/7.482, allocations: 23.68 MB / 2.79 GB, free: 117.8 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03085/7.513, allocations: 22.58 MB / 2.812 GB, free: 94.18 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05628/7.569, allocations: 37.59 MB / 2.848 GB, free: 55.79 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.652e-05/7.569, allocations: 16 kB / 2.848 GB, free: 55.77 MB / 1.467 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 1.318/8.887, allocations: 133 MB / 2.978 GB, free: 460.1 MB / 1.483 GB Notification: Performance of prepare postOptimizeDAE: time 6.491e-05/8.887, allocations: 58.33 kB / 2.978 GB, free: 460 MB / 1.483 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.507e-05/8.887, allocations: 50.69 kB / 2.978 GB, free: 460 MB / 1.483 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5268/9.414, allocations: 117.6 MB / 3.093 GB, free: 384 MB / 1.483 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01715/9.431, allocations: 3.533 MB / 3.097 GB, free: 380.6 MB / 1.483 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1455/9.577, allocations: 86.12 MB / 3.181 GB, free: 294.3 MB / 1.483 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0774/9.654, allocations: 6.497 MB / 3.187 GB, free: 287.8 MB / 1.483 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005926/9.66, allocations: 1.282 MB / 3.188 GB, free: 286.6 MB / 1.483 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.00721/9.667, allocations: 0.7639 MB / 3.189 GB, free: 285.8 MB / 1.483 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007307/9.675, allocations: 1.622 MB / 3.191 GB, free: 285.1 MB / 1.483 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.191/9.866, allocations: 60.76 MB / 3.25 GB, free: 224.6 MB / 1.483 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2029/10.07, allocations: 67.04 MB / 3.316 GB, free: 157.8 MB / 1.483 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001631/10.07, allocations: 28 kB / 3.316 GB, free: 157.8 MB / 1.483 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1974/10.27, allocations: 66.36 MB / 3.38 GB, free: 91.41 MB / 1.483 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.031/11.3, allocations: 130.6 MB / 3.508 GB, free: 463.5 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-05/11.3, allocations: 5.281 kB / 3.508 GB, free: 463.5 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01209/11.31, allocations: 1.978 MB / 3.51 GB, free: 463.5 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3128/11.62, allocations: 81.39 MB / 3.589 GB, free: 446.7 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004023/11.63, allocations: 0.5678 MB / 3.59 GB, free: 446.4 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1072/11.73, allocations: 58.54 MB / 3.647 GB, free: 403.6 MB / 1.498 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.1108/11.84, allocations: 54.07 MB / 3.7 GB, free: 348.5 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2356/12.08, allocations: 96.19 MB / 3.794 GB, free: 253.4 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01783/12.1, allocations: 6.026 MB / 3.8 GB, free: 248.3 MB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009452/12.11, allocations: 215.9 kB / 3.8 GB, free: 248 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04671/12.15, allocations: 3.32 MB / 3.803 GB, free: 244.7 MB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005133/12.16, allocations: 0.8692 MB / 3.804 GB, free: 243.9 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003562/12.16, allocations: 0.6237 MB / 3.805 GB, free: 243.2 MB / 1.498 GB Notification: Performance of sorting global known variables: time 0.02502/12.19, allocations: 14.3 MB / 3.819 GB, free: 229 MB / 1.498 GB Notification: Performance of sort global known variables: time 6.71e-07/12.19, allocations: 0 / 3.819 GB, free: 229 MB / 1.498 GB Notification: Performance of remove unused functions: time 0.08883/12.28, allocations: 38.72 MB / 3.856 GB, free: 190.5 MB / 1.498 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.2323/12.51, allocations: 97.68 MB / 3.952 GB, free: 93.36 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.1241/12.63, allocations: 77.43 MB / 4.027 GB, free: 15.91 MB / 1.498 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/12.63, allocations: 0 / 4.027 GB, free: 15.91 MB / 1.498 GB Notification: Performance of simCode: created simulation system equations: time 0.7546/13.39, allocations: 25.49 MB / 4.052 GB, free: 490.6 MB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06813/13.46, allocations: 7.986 MB / 4.06 GB, free: 489.9 MB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.448/14.9, allocations: 443.7 MB / 4.493 GB, free: 118 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01568/14.92, allocations: 10.46 MB / 4.504 GB, free: 107.5 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.03153/14.95, allocations: 7.995 MB / 4.512 GB, free: 99.47 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02406/14.98, allocations: 10.37 MB / 4.522 GB, free: 89.1 MB / 1.498 GB Notification: Performance of SimCode: time 1.142e-06/14.98, allocations: 4 kB / 4.522 GB, free: 89.09 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.54/17.52, allocations: 0.8085 GB / 5.33 GB, free: 393.2 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 98.66/116.2, allocations: 15.38 kB / 5.33 GB, free: 393.2 MB / 1.514 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat does not exist to compare? outputFormat=mat