Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_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.001475/0.001476, allocations: 108 kB / 15.6 MB, free: 132 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.001381/0.001381, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002435/0.002435, allocations: 290.2 kB / 290.7 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.027/1.027, allocations: 178.6 MB / 0.5073 GB, free: 4.555 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002561/0.002561, allocations: 96.64 kB / 0.6065 GB, free: 24.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1414, allocations: 89.14 MB / 0.6936 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.5798/0.7212, allocations: 357.7 MB / 1.043 GB, free: 5.734 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.3878/1.109, allocations: 75.86 MB / 1.117 GB, free: 43.37 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01101/1.12, allocations: 434.1 kB / 1.117 GB, free: 43.37 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0303/1.15, allocations: 23.47 MB / 1.14 GB, free: 42.97 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02915/1.18, allocations: 14.04 MB / 1.154 GB, free: 39.1 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01977/1.199, allocations: 10.04 MB / 1.164 GB, free: 32.96 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.08202/1.281, allocations: 66.69 MB / 1.229 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04155/1.323, allocations: 19.97 MB / 1.248 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03447/1.357, allocations: 16.92 MB / 1.265 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02675/1.384, allocations: 16.32 MB / 1.281 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.006584/1.391, allocations: 1.957 MB / 1.283 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01918/1.41, allocations: 6.612 MB / 1.289 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.008037/1.418, allocations: 6.483 MB / 1.296 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.01746/1.436, allocations: 11.26 MB / 1.307 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.03933/1.475, allocations: 31.51 MB / 1.337 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.475, allocations: 0 / 1.337 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.483e-06/1.475, allocations: 0 / 1.337 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0007712/1.476, allocations: 3.938 kB / 1.337 GB, free: 13.79 MB / 0.9044 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.05989/1.536, allocations: 24.09 MB / 1.361 GB, free: 5.734 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/1.536, allocations: 12.03 kB / 1.361 GB, free: 5.723 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002469/1.538, allocations: 1.058 MB / 1.362 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/1.553, allocations: 3.192 MB / 1.365 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04219/1.595, allocations: 21.83 MB / 1.386 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007628/1.596, allocations: 0.7041 MB / 1.387 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002765/1.599, allocations: 0.9403 MB / 1.388 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2841/1.883, allocations: 17.07 MB / 1.405 GB, free: 431.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001503/1.883, allocations: 16.34 kB / 1.405 GB, free: 431.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001193/1.884, allocations: 336.8 kB / 1.405 GB, free: 431.6 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003272/1.885, allocations: 365.5 kB / 1.405 GB, free: 431.6 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03261/1.917, allocations: 21.52 MB / 1.426 GB, free: 424.8 MB / 0.9512 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.1101/2.027, allocations: 84.35 MB / 1.509 GB, free: 362.2 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01727/2.045, allocations: 13.04 MB / 1.522 GB, free: 349.5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01159/2.056, allocations: 10.03 MB / 1.531 GB, free: 339.5 MB / 0.9512 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.05106/2.107, allocations: 35.64 MB / 1.566 GB, free: 304.1 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01178/2.119, allocations: 10.16 MB / 1.576 GB, free: 293.9 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0166/2.136, allocations: 5.815 MB / 1.582 GB, free: 288.8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=567): time 2.15e-05/2.136, allocations: 3.938 kB / 1.582 GB, free: 288.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=838): time 0.8271/2.963, allocations: 217.9 MB / 1.794 GB, free: 70.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.119/3.082, allocations: 56.07 MB / 1.849 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.285/3.367, allocations: 20.12 MB / 1.869 GB, free: 394.1 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.003341/3.37, allocations: 228.4 kB / 1.869 GB, free: 394.1 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.007408/3.378, allocations: 7.774 MB / 1.877 GB, free: 390.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.006851/3.385, allocations: 3.007 MB / 1.88 GB, free: 389.5 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01029/3.395, allocations: 4.081 MB / 1.884 GB, free: 388.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 3.382e-05/3.395, allocations: 303.6 kB / 1.884 GB, free: 388.2 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0304/3.426, allocations: 20.6 MB / 1.904 GB, free: 382 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02879/3.454, allocations: 23.48 MB / 1.927 GB, free: 372.8 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05318/3.508, allocations: 39.28 MB / 1.965 GB, free: 358.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.589e-05/3.508, allocations: 13.75 kB / 1.965 GB, free: 358.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1667) (initialization): time 0.589/4.097, allocations: 135.3 MB / 2.097 GB, free: 227.9 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.34e-05/4.097, allocations: 55.11 kB / 2.098 GB, free: 227.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.472e-05/4.097, allocations: 52 kB / 2.098 GB, free: 227.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5838/4.681, allocations: 118 MB / 2.213 GB, free: 109.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01719/4.698, allocations: 3.603 MB / 2.216 GB, free: 106.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3759/5.074, allocations: 81.92 MB / 2.296 GB, free: 369.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09288/5.167, allocations: 6.467 MB / 2.303 GB, free: 369.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005146/5.172, allocations: 1.345 MB / 2.304 GB, free: 369.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03548/5.207, allocations: 24.01 MB / 2.327 GB, free: 366.6 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02726/5.235, allocations: 22.96 MB / 2.35 GB, free: 357.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04948/5.284, allocations: 38.25 MB / 2.387 GB, free: 343.4 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.842e-05/5.284, allocations: 16.12 kB / 2.387 GB, free: 343.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1667) (initialization_lambda0): time 0.5734/5.858, allocations: 133.7 MB / 2.518 GB, free: 226.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.99e-05/5.858, allocations: 57.69 kB / 2.518 GB, free: 226.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.899e-05/5.858, allocations: 52 kB / 2.518 GB, free: 226.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5632/6.421, allocations: 117.7 MB / 2.633 GB, free: 108.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01572/6.437, allocations: 3.57 MB / 2.636 GB, free: 105.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3972/6.834, allocations: 86.17 MB / 2.721 GB, free: 355.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08886/6.923, allocations: 6.508 MB / 2.727 GB, free: 355.9 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005315/6.928, allocations: 1.316 MB / 2.728 GB, free: 355.9 MB / 0.9512 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 (1203): * Single equations (assignments): 1175 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 12 * 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.005044/6.933, allocations: 0.773 MB / 2.729 GB, free: 355.7 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005614/6.939, allocations: 1.614 MB / 2.73 GB, free: 355.7 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1927/7.132, allocations: 60.8 MB / 2.79 GB, free: 346.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1969/7.329, allocations: 67.05 MB / 2.855 GB, free: 305.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.677e-05/7.329, allocations: 28 kB / 2.855 GB, free: 305.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1835/7.512, allocations: 66.39 MB / 2.92 GB, free: 239.5 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2515/7.764, allocations: 130.7 MB / 3.048 GB, free: 109.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.199e-05/7.764, allocations: 3.984 kB / 3.048 GB, free: 109.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01035/7.774, allocations: 1.973 MB / 3.05 GB, free: 107.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6264/8.401, allocations: 81.55 MB / 3.129 GB, free: 358.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003055/8.404, allocations: 0.5709 MB / 3.13 GB, free: 358.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09616/8.5, allocations: 58.56 MB / 3.187 GB, free: 344.4 MB / 0.9512 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 + (-valHea.m_flow) - bou.ports[1].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 + (-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. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1/8.6, allocations: 54.2 MB / 3.24 GB, free: 319.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2419/8.842, allocations: 96.19 MB / 3.334 GB, free: 239.7 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01404/8.856, allocations: 6.019 MB / 3.34 GB, free: 234 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006232/8.862, allocations: 217.4 kB / 3.34 GB, free: 233.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05005/8.912, allocations: 3.32 MB / 3.343 GB, free: 230.4 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003631/8.916, allocations: 0.8694 MB / 3.344 GB, free: 229.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001462/8.917, allocations: 0.6276 MB / 3.345 GB, free: 228.9 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.01947/8.937, allocations: 13.97 MB / 3.358 GB, free: 215 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.71e-07/8.937, allocations: 4 kB / 3.358 GB, free: 215 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.07639/9.013, allocations: 38.86 MB / 3.396 GB, free: 176.3 MB / 0.9512 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.2331/9.246, allocations: 97.82 MB / 3.492 GB, free: 78.82 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.4233/9.67, allocations: 102.6 MB / 3.592 GB, free: 386.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/9.67, allocations: 4.844 kB / 3.592 GB, free: 386.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.05017/9.72, allocations: 25.51 MB / 3.617 GB, free: 378.6 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04771/9.768, allocations: 7.914 MB / 3.625 GB, free: 376.7 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.015/11.78, allocations: 0.5496 GB / 4.174 GB, free: 275.9 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009648/11.79, allocations: 10.46 MB / 4.185 GB, free: 265.4 MB / 0.9513 GB Notification: Performance of simCode: alias equations: time 0.02671/11.82, allocations: 7.981 MB / 4.192 GB, free: 257.7 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01716/11.84, allocations: 10.35 MB / 4.202 GB, free: 247.3 MB / 0.9513 GB Notification: Performance of SimCode: time 9.52e-07/11.84, allocations: 0 / 4.202 GB, free: 247.3 MB / 0.9513 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.654/16.49, allocations: 0.8128 GB / 5.015 GB, free: 313.9 MB / 0.9513 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.01/48.5, allocations: 6.016 kB / 5.015 GB, free: 313.9 MB / 0.9513 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)