Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_latest_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.009942/0.009943, allocations: 102 kB / 15.73 MB, free: 6.039 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.001935/0.001936, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.772/2.772, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 67.89 kB / 1.054 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3567, allocations: 157.4 MB / 1.207 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.043/1.4, allocations: 357.8 MB / 1.557 GB, free: 1.184 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.1075/1.507, allocations: 75.85 MB / 1.631 GB, free: 5.168 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01688/1.524, allocations: 429.6 kB / 1.631 GB, free: 4.746 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.01833/1.543, allocations: 6.432 MB / 1.637 GB, free: 14.28 MB / 1.326 GB Notification: Performance of NFTyping.typeBindings: time 0.03996/1.583, allocations: 14.1 MB / 1.651 GB, free: 136 kB / 1.326 GB Notification: Performance of NFTyping.typeClassSections: time 0.024/1.607, allocations: 10.19 MB / 1.661 GB, free: 6.016 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.09998/1.707, allocations: 74.18 MB / 1.734 GB, free: 11.68 MB / 1.42 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02778/1.734, allocations: 20 MB / 1.753 GB, free: 7.527 MB / 1.436 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03474/1.769, allocations: 17.42 MB / 1.77 GB, free: 6.086 MB / 1.451 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02851/1.798, allocations: 16.38 MB / 1.786 GB, free: 5.648 MB / 1.467 GB Notification: Performance of NFPackage.collectConstants: time 0.008021/1.806, allocations: 1.957 MB / 1.788 GB, free: 3.691 MB / 1.467 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01977/1.826, allocations: 6.039 MB / 1.794 GB, free: 13.64 MB / 1.482 GB Notification: Performance of NFScalarize.scalarize: time 0.0101/1.836, allocations: 6.492 MB / 1.8 GB, free: 7.133 MB / 1.482 GB Notification: Performance of NFVerifyModel.verify: time 1.442/3.277, allocations: 11.25 MB / 1.811 GB, free: 141.6 MB / 1.483 GB Notification: Performance of NFConvertDAE.convert: time 0.05245/3.33, allocations: 31.3 MB / 1.842 GB, free: 140.9 MB / 1.483 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/3.33, allocations: 2.656 kB / 1.842 GB, free: 140.9 MB / 1.483 GB Notification: Performance of FrontEnd: time 1.523e-06/3.33, allocations: 0 / 1.842 GB, free: 140.9 MB / 1.483 GB Notification: Performance of Transformations before backend: time 0.0009535/3.331, allocations: 1.125 kB / 1.842 GB, free: 140.9 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.08827/3.419, allocations: 24.06 MB / 1.865 GB, free: 132.4 MB / 1.483 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/3.419, allocations: 10.22 kB / 1.865 GB, free: 132.4 MB / 1.483 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006247/3.425, allocations: 1.05 MB / 1.866 GB, free: 132.3 MB / 1.483 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02285/3.448, allocations: 3.2 MB / 1.87 GB, free: 131.3 MB / 1.483 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05433/3.503, allocations: 22.99 MB / 1.892 GB, free: 128.3 MB / 1.483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007315/3.503, allocations: 0.6719 MB / 1.893 GB, free: 128.3 MB / 1.483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007722/3.511, allocations: 0.9381 MB / 1.894 GB, free: 128.3 MB / 1.483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05146/3.563, allocations: 17.06 MB / 1.91 GB, free: 127.5 MB / 1.483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003802/3.563, allocations: 24.61 kB / 1.91 GB, free: 127.5 MB / 1.483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005695/3.569, allocations: 324.7 kB / 1.911 GB, free: 127.5 MB / 1.483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003871/3.569, allocations: 367.2 kB / 1.911 GB, free: 127.5 MB / 1.483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04558/3.615, allocations: 21.5 MB / 1.932 GB, free: 127.4 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.1393/3.754, allocations: 83.97 MB / 2.014 GB, free: 84.09 MB / 1.483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01951/3.774, allocations: 13.02 MB / 2.027 GB, free: 81.84 MB / 1.483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01416/3.788, allocations: 10.08 MB / 2.036 GB, free: 74.27 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.07275/3.861, allocations: 35.56 MB / 2.071 GB, free: 38.44 MB / 1.483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01865/3.879, allocations: 10.14 MB / 2.081 GB, free: 28.23 MB / 1.483 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02896/3.908, allocations: 5.813 MB / 2.087 GB, free: 22.57 MB / 1.483 GB Notification: Performance of pre-optimization done (n=567): time 9.133e-05/3.908, allocations: 0 / 2.087 GB, free: 22.57 MB / 1.483 GB Notification: Performance of matching and sorting (n=838): time 1.02/4.928, allocations: 217.8 MB / 2.299 GB, free: 12.21 MB / 1.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1589/5.087, allocations: 55.93 MB / 2.354 GB, free: 3.285 MB / 1.733 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04929/5.136, allocations: 20.49 MB / 2.374 GB, free: 14.9 MB / 1.764 GB Notification: Performance of collectPreVariables (initialization): time 0.005869/5.142, allocations: 225.7 kB / 2.374 GB, free: 14.67 MB / 1.764 GB Notification: Performance of collectInitialEqns (initialization): time 0.01246/5.155, allocations: 7.778 MB / 2.382 GB, free: 6.902 MB / 1.764 GB Notification: Performance of collectInitialBindings (initialization): time 0.009975/5.165, allocations: 3.012 MB / 2.385 GB, free: 3.918 MB / 1.764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01595/5.181, allocations: 3.991 MB / 2.389 GB, free: 15.91 MB / 1.779 GB Notification: Performance of setup shared object (initialization): time 8.899e-05/5.181, allocations: 301.1 kB / 2.389 GB, free: 15.61 MB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03567/5.217, allocations: 20.27 MB / 2.409 GB, free: 11.32 MB / 1.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03864/5.255, allocations: 23.1 MB / 2.431 GB, free: 3.219 MB / 1.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7301/5.985, allocations: 38.6 MB / 2.469 GB, free: 0.7701 GB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-05/5.986, allocations: 20.12 kB / 2.469 GB, free: 0.7701 GB / 1.826 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.6333/6.619, allocations: 134.6 MB / 2.6 GB, free: 0.719 GB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 9.233e-05/6.619, allocations: 54.95 kB / 2.601 GB, free: 0.7189 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-05/6.619, allocations: 56.16 kB / 2.601 GB, free: 0.7189 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6025/7.222, allocations: 117.9 MB / 2.716 GB, free: 0.6041 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.019/7.241, allocations: 3.557 MB / 2.719 GB, free: 0.6006 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1494/7.39, allocations: 81.88 MB / 2.799 GB, free: 0.5206 GB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09762/7.488, allocations: 6.451 MB / 2.806 GB, free: 0.5143 GB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005962/7.494, allocations: 1.314 MB / 2.807 GB, free: 0.513 GB / 1.826 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0381/7.532, allocations: 23.67 MB / 2.83 GB, free: 0.4898 GB / 1.826 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03204/7.564, allocations: 22.59 MB / 2.852 GB, free: 478 MB / 1.826 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05541/7.62, allocations: 37.58 MB / 2.889 GB, free: 439.6 MB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.723e-05/7.62, allocations: 12 kB / 2.889 GB, free: 439.6 MB / 1.826 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.6108/8.23, allocations: 133 MB / 3.019 GB, free: 307.5 MB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/8.231, allocations: 53.7 kB / 3.019 GB, free: 307.4 MB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/8.231, allocations: 54.06 kB / 3.019 GB, free: 307.3 MB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6693/8.9, allocations: 117.6 MB / 3.134 GB, free: 190 MB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01742/8.917, allocations: 3.533 MB / 3.137 GB, free: 186.4 MB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1618/9.079, allocations: 86.12 MB / 3.221 GB, free: 100.1 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09818/9.178, allocations: 6.496 MB / 3.227 GB, free: 93.64 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007765/9.185, allocations: 1.29 MB / 3.229 GB, free: 92.35 MB / 1.826 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.009768/9.195, allocations: 0.7623 MB / 3.229 GB, free: 91.58 MB / 1.826 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009234/9.204, allocations: 1.62 MB / 3.231 GB, free: 90.7 MB / 1.826 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2179/9.422, allocations: 60.76 MB / 3.29 GB, free: 30 MB / 1.826 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.9708/10.39, allocations: 67.04 MB / 3.356 GB, free: 0.7475 GB / 1.826 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001974/10.39, allocations: 26.59 kB / 3.356 GB, free: 0.7475 GB / 1.826 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2162/10.61, allocations: 66.35 MB / 3.421 GB, free: 0.732 GB / 1.826 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3122/10.92, allocations: 130.7 MB / 3.548 GB, free: 0.6088 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.563e-05/10.92, allocations: 4 kB / 3.548 GB, free: 0.6088 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01207/10.93, allocations: 1.977 MB / 3.55 GB, free: 0.6068 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3373/11.27, allocations: 81.39 MB / 3.63 GB, free: 0.5278 GB / 1.826 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005112/11.28, allocations: 0.5729 MB / 3.63 GB, free: 0.5272 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1053/11.38, allocations: 58.53 MB / 3.687 GB, free: 481.3 MB / 1.826 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.1155/11.5, allocations: 54.07 MB / 3.74 GB, free: 426.2 MB / 1.826 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2633/11.76, allocations: 96.18 MB / 3.834 GB, free: 330.9 MB / 1.826 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02334/11.78, allocations: 6.027 MB / 3.84 GB, free: 325.8 MB / 1.826 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01011/11.79, allocations: 212 kB / 3.84 GB, free: 325.5 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05971/11.85, allocations: 3.323 MB / 3.843 GB, free: 322.2 MB / 1.826 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006438/11.86, allocations: 0.8732 MB / 3.844 GB, free: 321.3 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004162/11.86, allocations: 0.6276 MB / 3.845 GB, free: 320.7 MB / 1.826 GB Notification: Performance of sorting global known variables: time 0.02925/11.89, allocations: 14.29 MB / 3.859 GB, free: 306.5 MB / 1.826 GB Notification: Performance of sort global known variables: time 5.31e-07/11.89, allocations: 0 / 3.859 GB, free: 306.5 MB / 1.826 GB Notification: Performance of remove unused functions: time 0.1029/12, allocations: 38.71 MB / 3.897 GB, free: 267.9 MB / 1.826 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.2691/12.27, allocations: 97.69 MB / 3.992 GB, free: 170.7 MB / 1.826 GB Notification: Performance of simCode: created initialization part: time 0.1382/12.4, allocations: 77.44 MB / 4.068 GB, free: 93.2 MB / 1.826 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/12.4, allocations: 4.125 kB / 4.068 GB, free: 93.2 MB / 1.826 GB Notification: Performance of simCode: created simulation system equations: time 0.05697/12.46, allocations: 25.49 MB / 4.093 GB, free: 67.7 MB / 1.826 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06284/12.52, allocations: 7.986 MB / 4.1 GB, free: 60.04 MB / 1.826 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.381/14.91, allocations: 443.7 MB / 4.534 GB, free: 486.5 MB / 1.826 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01847/14.92, allocations: 10.45 MB / 4.544 GB, free: 476.1 MB / 1.826 GB Notification: Performance of simCode: alias equations: time 0.03683/14.96, allocations: 7.992 MB / 4.552 GB, free: 468.3 MB / 1.826 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02468/14.99, allocations: 10.36 MB / 4.562 GB, free: 457.9 MB / 1.826 GB Notification: Performance of SimCode: time 9.12e-07/14.99, allocations: 0 / 4.562 GB, free: 457.9 MB / 1.826 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.041/17.03, allocations: 0.8274 GB / 5.389 GB, free: 449.7 MB / 1.826 GB Notification: Performance of buildModelFMU: Generate platform static: time 121.6/138.6, allocations: 15.64 kB / 5.389 GB, free: 449.7 MB / 1.826 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat does not exist to compare? outputFormat=mat