Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 195.1 kB / 16.53 MB, free: 6.699 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 0.6647 GB, free: 388 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 59.91 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5748/0.5761, allocations: 140.4 MB / 0.9497 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.8548/1.431, allocations: 355.6 MB / 1.297 GB, free: 60.1 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0807/1.512, allocations: 72.93 MB / 1.368 GB, free: 56.11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01372/1.525, allocations: 432.2 kB / 1.369 GB, free: 56.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0139/1.539, allocations: 5.313 MB / 1.374 GB, free: 54.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.03903/1.578, allocations: 13.52 MB / 1.387 GB, free: 47.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02131/1.6, allocations: 9.672 MB / 1.396 GB, free: 41.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03679/1.637, allocations: 37.4 MB / 1.433 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02708/1.664, allocations: 19.8 MB / 1.452 GB, free: 6.891 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03401/1.698, allocations: 16.62 MB / 1.469 GB, free: 7.191 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02741/1.725, allocations: 15.83 MB / 1.484 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.008096/1.733, allocations: 1.859 MB / 1.486 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01943/1.753, allocations: 5.69 MB / 1.491 GB, free: 1.156 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.01072/1.764, allocations: 5.774 MB / 1.497 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.02084/1.784, allocations: 10.38 MB / 1.507 GB, free: 1.402 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.04126/1.826, allocations: 28.69 MB / 1.535 GB, free: 5.777 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.826, allocations: 0 / 1.535 GB, free: 5.777 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.677e-06/1.826, allocations: 0 / 1.535 GB, free: 5.777 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0009483/1.827, allocations: 3.938 kB / 1.535 GB, free: 5.773 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.06075/1.888, allocations: 22.24 MB / 1.557 GB, free: 15.6 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.888, allocations: 8.031 kB / 1.557 GB, free: 15.59 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003911/1.891, allocations: 1.048 MB / 1.558 GB, free: 14.54 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01378/1.905, allocations: 2.578 MB / 1.56 GB, free: 11.94 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03727/1.943, allocations: 17.57 MB / 1.578 GB, free: 10.63 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008081/1.943, allocations: 0.684 MB / 1.578 GB, free: 9.949 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004299/1.948, allocations: 0.9215 MB / 1.579 GB, free: 9.035 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03539/1.983, allocations: 16.53 MB / 1.595 GB, free: 8.312 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001831/1.983, allocations: 11.84 kB / 1.595 GB, free: 8.301 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00158/1.985, allocations: 328.9 kB / 1.596 GB, free: 7.984 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003249/1.985, allocations: 371.2 kB / 1.596 GB, free: 7.621 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0383/2.024, allocations: 21.03 MB / 1.617 GB, free: 2.578 MB / 1.17 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.1415/2.165, allocations: 82.45 MB / 1.697 GB, free: 13.03 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02217/2.187, allocations: 12.55 MB / 1.709 GB, free: 0.7031 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01618/2.204, allocations: 9.819 MB / 1.719 GB, free: 6.871 MB / 1.279 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.8964/3.1, allocations: 34.52 MB / 1.753 GB, free: 0.4965 GB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01413/3.114, allocations: 9.695 MB / 1.762 GB, free: 0.4931 GB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01877/3.133, allocations: 5.758 MB / 1.768 GB, free: 0.4914 GB / 1.279 GB Notification: Performance of pre-optimization done (n=551): time 2.67e-05/3.133, allocations: 0 / 1.768 GB, free: 0.4914 GB / 1.279 GB Notification: Performance of matching and sorting (n=822): time 0.9173/4.05, allocations: 217.1 MB / 1.98 GB, free: 304.4 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1292/4.18, allocations: 56.02 MB / 2.034 GB, free: 247.3 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02151/4.201, allocations: 17.63 MB / 2.052 GB, free: 229.8 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.003346/4.204, allocations: 213.7 kB / 2.052 GB, free: 229.6 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.005289/4.21, allocations: 7.233 MB / 2.059 GB, free: 222.5 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.006707/4.216, allocations: 2.927 MB / 2.062 GB, free: 219.6 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007152/4.224, allocations: 3.54 MB / 2.065 GB, free: 216 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.15e-05/4.224, allocations: 305.1 kB / 2.066 GB, free: 215.7 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02521/4.249, allocations: 18.96 MB / 2.084 GB, free: 196.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02748/4.276, allocations: 21.54 MB / 2.105 GB, free: 174.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05288/4.329, allocations: 36.2 MB / 2.14 GB, free: 137.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.52e-05/4.329, allocations: 16 kB / 2.14 GB, free: 137.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 1.364/5.693, allocations: 131.5 MB / 2.269 GB, free: 464.1 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 7.962e-05/5.693, allocations: 57.8 kB / 2.269 GB, free: 464 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.273e-05/5.693, allocations: 55.56 kB / 2.269 GB, free: 464 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6197/6.313, allocations: 118 MB / 2.384 GB, free: 422.8 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01539/6.328, allocations: 3.302 MB / 2.387 GB, free: 419.6 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1325/6.461, allocations: 81.57 MB / 2.467 GB, free: 338 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09698/6.558, allocations: 6.358 MB / 2.473 GB, free: 331.7 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00503/6.563, allocations: 1.282 MB / 2.475 GB, free: 330.4 MB / 1.28 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03387/6.597, allocations: 21.99 MB / 2.496 GB, free: 308.4 MB / 1.28 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02683/6.624, allocations: 21.1 MB / 2.517 GB, free: 286.3 MB / 1.28 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04987/6.674, allocations: 35.31 MB / 2.551 GB, free: 250.2 MB / 1.28 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.043e-05/6.674, allocations: 16 kB / 2.551 GB, free: 250.1 MB / 1.28 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.6194/7.293, allocations: 130 MB / 2.678 GB, free: 120.8 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 6.537e-05/7.293, allocations: 61.88 kB / 2.678 GB, free: 120.7 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.296e-05/7.293, allocations: 56 kB / 2.678 GB, free: 120.7 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031/8.324, allocations: 117.7 MB / 2.793 GB, free: 453.4 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01556/8.34, allocations: 3.289 MB / 2.796 GB, free: 453.4 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1402/8.48, allocations: 86.14 MB / 2.881 GB, free: 429.1 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09342/8.573, allocations: 6.374 MB / 2.887 GB, free: 426.3 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004783/8.578, allocations: 1.263 MB / 2.888 GB, free: 425.5 MB / 1.28 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1027): * Single equations (assignments): 1011 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.004073/8.582, allocations: 0.715 MB / 2.889 GB, free: 425 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004972/8.587, allocations: 1.471 MB / 2.89 GB, free: 425 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2046/8.792, allocations: 60.26 MB / 2.949 GB, free: 369.6 MB / 1.28 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2188/9.011, allocations: 66.73 MB / 3.014 GB, free: 303 MB / 1.28 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.966e-05/9.011, allocations: 30.25 kB / 3.014 GB, free: 303 MB / 1.28 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2096/9.22, allocations: 66.06 MB / 3.079 GB, free: 236.9 MB / 1.28 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2645/9.485, allocations: 129.1 MB / 3.205 GB, free: 108 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.467e-05/9.485, allocations: 0 / 3.205 GB, free: 108 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01029/9.495, allocations: 1.911 MB / 3.207 GB, free: 106.1 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3193/9.815, allocations: 81.53 MB / 3.286 GB, free: 24.66 MB / 1.28 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00279/9.817, allocations: 0.565 MB / 3.287 GB, free: 24.1 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5183/10.34, allocations: 58.31 MB / 3.344 GB, free: 455 MB / 1.28 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 2 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , -1.0 ; 0.0 , 1.0 , 1.0 ; -1.0 , -1.0 , 0.0 ] * [ valHea.m_flow ; valCoo.m_flow ; spl1.res1.m_flow ] = [ -bou.ports[1].m_flow ; tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].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 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.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 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.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.1011/10.44, allocations: 54.06 MB / 3.397 GB, free: 430.2 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2237/10.66, allocations: 95.15 MB / 3.489 GB, free: 341.8 MB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01149/10.67, allocations: 5.735 MB / 3.495 GB, free: 336.8 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004493/10.68, allocations: 212 kB / 3.495 GB, free: 336.6 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04615/10.72, allocations: 3.253 MB / 3.498 GB, free: 333.4 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003024/10.73, allocations: 0.8654 MB / 3.499 GB, free: 332.5 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001497/10.73, allocations: 0.6198 MB / 3.5 GB, free: 331.9 MB / 1.28 GB Notification: Performance of sorting global known variables: time 0.01417/10.74, allocations: 12.36 MB / 3.512 GB, free: 319.6 MB / 1.28 GB Notification: Performance of sort global known variables: time 1.042e-06/10.74, allocations: 0 / 3.512 GB, free: 319.6 MB / 1.28 GB Notification: Performance of remove unused functions: time 0.07201/10.81, allocations: 38.12 MB / 3.549 GB, free: 281.6 MB / 1.28 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],vol.p) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (605): * Single equations (assignments): 584 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,83), (1,1), (38,197)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2454/11.06, allocations: 96.54 MB / 3.643 GB, free: 185.6 MB / 1.28 GB Notification: Performance of simCode: created initialization part: time 0.1736/11.23, allocations: 97.95 MB / 3.739 GB, free: 87.7 MB / 1.28 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/11.23, allocations: 0 / 3.739 GB, free: 87.7 MB / 1.28 GB Notification: Performance of simCode: created simulation system equations: time 0.05094/11.28, allocations: 25.32 MB / 3.764 GB, free: 62.39 MB / 1.28 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04665/11.33, allocations: 7.185 MB / 3.771 GB, free: 55.45 MB / 1.28 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.783/13.11, allocations: 0.5136 GB / 4.284 GB, free: 51.19 MB / 1.28 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008419/13.12, allocations: 9.734 MB / 4.294 GB, free: 41.41 MB / 1.28 GB Notification: Performance of simCode: alias equations: time 0.02187/13.14, allocations: 7.459 MB / 4.301 GB, free: 34.15 MB / 1.28 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01519/13.16, allocations: 9.615 MB / 4.311 GB, free: 24.53 MB / 1.28 GB Notification: Performance of SimCode: time 8.92e-07/13.16, allocations: 4 kB / 4.311 GB, free: 24.53 MB / 1.28 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 11.59/24.75, allocations: 0.7646 GB / 5.075 GB, free: 227.5 MB / 1.28 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.22/61.97, allocations: 10.88 kB / 5.075 GB, free: 227.5 MB / 1.28 GB (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat does not exist to compare? outputFormat=mat