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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007395/0.007401, allocations: 101.8 kB / 15.73 MB, free: 6.004 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.002173/0.002174, allocations: 193.8 kB / 16.67 MB, free: 5.922 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.212/1.212, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.383/2.383, allocations: 482.6 MB / 0.7551 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 64.3 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2489, allocations: 162.3 MB / 1.242 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.8262/1.075, allocations: 357.8 MB / 1.591 GB, free: 62.11 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.06911/1.144, allocations: 75.67 MB / 1.665 GB, free: 59.33 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01138/1.156, allocations: 440.6 kB / 1.666 GB, free: 59.33 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.01281/1.169, allocations: 6.41 MB / 1.672 GB, free: 58.1 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.02753/1.196, allocations: 13.95 MB / 1.686 GB, free: 53.34 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01659/1.213, allocations: 10.1 MB / 1.695 GB, free: 47.47 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.04585/1.259, allocations: 54.74 MB / 1.749 GB, free: 8.34 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02029/1.279, allocations: 19.53 MB / 1.768 GB, free: 5.387 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0284/1.307, allocations: 16.92 MB / 1.784 GB, free: 5.402 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0238/1.331, allocations: 15.48 MB / 1.8 GB, free: 6.973 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.003956/1.335, allocations: 1.855 MB / 1.801 GB, free: 5.117 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01391/1.349, allocations: 5.913 MB / 1.807 GB, free: 15.48 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.005393/1.354, allocations: 6.088 MB / 1.813 GB, free: 9.605 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.01368/1.368, allocations: 10.8 MB / 1.824 GB, free: 15 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.03382/1.402, allocations: 29.98 MB / 1.853 GB, free: 2.098 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.402, allocations: 7.938 kB / 1.853 GB, free: 2.09 MB / 1.357 GB Notification: Performance of FrontEnd: time 1.412e-06/1.402, allocations: 0 / 1.853 GB, free: 2.09 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0004629/1.402, allocations: 4 kB / 1.853 GB, free: 2.086 MB / 1.357 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1949 * Number of variables: 1949 Notification: Performance of Generate backend data structure: time 0.043/1.445, allocations: 23.33 MB / 1.876 GB, free: 10.83 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/1.445, allocations: 12.03 kB / 1.876 GB, free: 10.82 MB / 1.389 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001506/1.447, allocations: 1.004 MB / 1.877 GB, free: 9.809 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/1.459, allocations: 3.197 MB / 1.88 GB, free: 6.598 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03387/1.493, allocations: 22.32 MB / 1.902 GB, free: 0.5898 MB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004634/1.494, allocations: 0.6452 MB / 1.902 GB, free: 15.94 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/1.495, allocations: 0.8806 MB / 1.903 GB, free: 15.06 MB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02606/1.521, allocations: 16.95 MB / 1.92 GB, free: 13.89 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/1.521, allocations: 19.83 kB / 1.92 GB, free: 13.88 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001091/1.523, allocations: 316 kB / 1.92 GB, free: 13.57 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001586/1.523, allocations: 200 kB / 1.92 GB, free: 13.37 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03136/1.554, allocations: 21.03 MB / 1.941 GB, free: 8.32 MB / 1.451 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.1047/1.659, allocations: 83.3 MB / 2.022 GB, free: 1.691 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02121/1.68, allocations: 13.61 MB / 2.035 GB, free: 4.324 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01509/1.695, allocations: 10.28 MB / 2.045 GB, free: 10.03 MB / 1.561 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.05263/1.748, allocations: 34.64 MB / 2.079 GB, free: 6.996 MB / 1.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01527/1.763, allocations: 10.35 MB / 2.089 GB, free: 12.62 MB / 1.607 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01627/1.779, allocations: 5.791 MB / 2.095 GB, free: 6.988 MB / 1.607 GB Notification: Performance of pre-optimization done (n=503): time 8.356e-06/1.779, allocations: 0 / 2.095 GB, free: 6.988 MB / 1.607 GB Notification: Performance of matching and sorting (n=742): time 1.656/3.435, allocations: 218.7 MB / 2.309 GB, free: 0.5791 GB / 1.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09391/3.529, allocations: 49.1 MB / 2.356 GB, free: 0.5303 GB / 1.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01787/3.547, allocations: 19.59 MB / 2.376 GB, free: 0.5113 GB / 1.686 GB Notification: Performance of collectPreVariables (initialization): time 0.003189/3.55, allocations: 209.6 kB / 2.376 GB, free: 0.5111 GB / 1.686 GB Notification: Performance of collectInitialEqns (initialization): time 0.004001/3.554, allocations: 7.602 MB / 2.383 GB, free: 0.5042 GB / 1.686 GB Notification: Performance of collectInitialBindings (initialization): time 0.005283/3.559, allocations: 2.755 MB / 2.386 GB, free: 0.5018 GB / 1.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005261/3.564, allocations: 3.793 MB / 2.39 GB, free: 0.4981 GB / 1.686 GB Notification: Performance of setup shared object (initialization): time 2.7e-05/3.565, allocations: 305.1 kB / 2.39 GB, free: 0.4978 GB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0216/3.586, allocations: 19.43 MB / 2.409 GB, free: 490.3 MB / 1.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02208/3.608, allocations: 22.19 MB / 2.431 GB, free: 467.1 MB / 1.686 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04289/3.651, allocations: 37.3 MB / 2.467 GB, free: 429 MB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-05/3.651, allocations: 19.75 kB / 2.467 GB, free: 429 MB / 1.686 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.5024/4.154, allocations: 132.6 MB / 2.597 GB, free: 296.5 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 5.817e-05/4.154, allocations: 60.73 kB / 2.597 GB, free: 296.4 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.798e-05/4.154, allocations: 52 kB / 2.597 GB, free: 296.4 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5079/4.662, allocations: 118 MB / 2.712 GB, free: 178.8 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01384/4.676, allocations: 3.166 MB / 2.715 GB, free: 175.6 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1115/4.787, allocations: 81.88 MB / 2.795 GB, free: 93.4 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07931/4.866, allocations: 6.582 MB / 2.801 GB, free: 86.82 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002374/4.869, allocations: 1.294 MB / 2.803 GB, free: 85.52 MB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02614/4.895, allocations: 22.52 MB / 2.825 GB, free: 62.98 MB / 1.686 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02182/4.917, allocations: 21.67 MB / 2.846 GB, free: 40.29 MB / 1.686 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.9212/5.838, allocations: 36.27 MB / 2.881 GB, free: 0.6143 GB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.781e-05/5.838, allocations: 17.84 kB / 2.881 GB, free: 0.6143 GB / 1.686 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 0.5248/6.363, allocations: 131 MB / 3.009 GB, free: 0.5503 GB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 5.293e-05/6.363, allocations: 57.69 kB / 3.009 GB, free: 0.5503 GB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.916e-05/6.363, allocations: 52 kB / 3.009 GB, free: 0.5502 GB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5169/6.88, allocations: 117.6 MB / 3.124 GB, free: 446.1 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01253/6.892, allocations: 3.151 MB / 3.127 GB, free: 443 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1151/7.008, allocations: 86.09 MB / 3.211 GB, free: 356.8 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07951/7.087, allocations: 6.632 MB / 3.218 GB, free: 350.2 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002501/7.09, allocations: 1.267 MB / 3.219 GB, free: 348.9 MB / 1.686 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1023 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.003429/7.093, allocations: 0.7231 MB / 3.22 GB, free: 348.2 MB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003938/7.097, allocations: 1.6 MB / 3.221 GB, free: 346.7 MB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1765/7.273, allocations: 60.45 MB / 3.28 GB, free: 286.5 MB / 1.686 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1789/7.452, allocations: 64.59 MB / 3.343 GB, free: 222 MB / 1.686 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-05/7.453, allocations: 28 kB / 3.343 GB, free: 222 MB / 1.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1767/7.629, allocations: 63.92 MB / 3.406 GB, free: 158.2 MB / 1.686 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2542/7.884, allocations: 128.2 MB / 3.531 GB, free: 30.21 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.183e-05/7.884, allocations: 3.984 kB / 3.531 GB, free: 30.21 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0105/7.894, allocations: 2.125 MB / 3.533 GB, free: 28.08 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.8567/8.751, allocations: 78.41 MB / 3.61 GB, free: 0.5957 GB / 1.686 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003569/8.754, allocations: 0.5325 MB / 3.61 GB, free: 0.5954 GB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08752/8.842, allocations: 55.66 MB / 3.665 GB, free: 0.5623 GB / 1.686 GB Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valHea.m_flow ; valCoo.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ] might be structurally or numerically singular for variable valCoo.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.08233/8.924, allocations: 48.75 MB / 3.712 GB, free: 0.5138 GB / 1.686 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2194/9.144, allocations: 91.59 MB / 3.802 GB, free: 435.3 MB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01309/9.157, allocations: 5.483 MB / 3.807 GB, free: 429.8 MB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005505/9.162, allocations: 164 kB / 3.807 GB, free: 429.6 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04689/9.209, allocations: 3.473 MB / 3.811 GB, free: 426.1 MB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004274/9.214, allocations: 0.8179 MB / 3.811 GB, free: 425.3 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002221/9.216, allocations: 0.6272 MB / 3.812 GB, free: 424.7 MB / 1.686 GB Notification: Performance of sorting global known variables: time 0.0158/9.232, allocations: 13.65 MB / 3.825 GB, free: 411.1 MB / 1.686 GB Notification: Performance of sort global known variables: time 2.8e-07/9.232, allocations: 0 / 3.825 GB, free: 411.1 MB / 1.686 GB Notification: Performance of remove unused functions: time 0.06652/9.298, allocations: 34.91 MB / 3.859 GB, free: 376.4 MB / 1.686 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 42 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpNorth.vol.dynBal.U,valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,vol.p) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (556): * Single equations (assignments): 535 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,83), (1,1), (38,166)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2201/9.518, allocations: 93.21 MB / 3.95 GB, free: 283.6 MB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.1077/9.626, allocations: 72.78 MB / 4.021 GB, free: 210.7 MB / 1.686 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/9.626, allocations: 0 / 4.021 GB, free: 210.7 MB / 1.686 GB Notification: Performance of simCode: created simulation system equations: time 0.0475/9.674, allocations: 24.43 MB / 4.045 GB, free: 186.3 MB / 1.686 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04299/9.717, allocations: 8.074 MB / 4.053 GB, free: 178.5 MB / 1.686 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.848/11.56, allocations: 424.6 MB / 4.468 GB, free: 440.1 MB / 1.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00814/11.57, allocations: 9.86 MB / 4.477 GB, free: 430.2 MB / 1.686 GB Notification: Performance of simCode: alias equations: time 0.02185/11.59, allocations: 6.797 MB / 4.484 GB, free: 423.6 MB / 1.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01602/11.61, allocations: 10.01 MB / 4.494 GB, free: 413.6 MB / 1.686 GB Notification: Performance of SimCode: time 7.01e-07/11.61, allocations: 0 / 4.494 GB, free: 413.6 MB / 1.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.443/17.05, allocations: 0.7747 GB / 5.268 GB, free: 287.2 MB / 1.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 81.62/98.68, allocations: 27.92 kB / 5.269 GB, free: 287.2 MB / 1.686 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=400 --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