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.00109/0.00109, 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.001114/0.001114, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.244/1.244, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 283 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.881/0.881, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 96.89 kB / 0.5953 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1375, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.5241/0.6617, allocations: 357.7 MB / 1.03 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.4022/1.064, allocations: 75.85 MB / 1.104 GB, free: 35.22 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01245/1.076, allocations: 434.3 kB / 1.104 GB, free: 35.22 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.03332/1.11, allocations: 23.48 MB / 1.127 GB, free: 34.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.03171/1.141, allocations: 14.03 MB / 1.141 GB, free: 34.24 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01915/1.161, allocations: 10.04 MB / 1.151 GB, free: 32.97 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.06534/1.226, allocations: 66.66 MB / 1.216 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02316/1.249, allocations: 19.98 MB / 1.235 GB, free: 4.977 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02836/1.278, allocations: 16.92 MB / 1.252 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0245/1.302, allocations: 16.32 MB / 1.268 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.006939/1.309, allocations: 1.957 MB / 1.27 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01886/1.328, allocations: 6.623 MB / 1.276 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.008863/1.337, allocations: 6.483 MB / 1.282 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0196/1.356, allocations: 11.26 MB / 1.293 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.03841/1.395, allocations: 31.51 MB / 1.324 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/1.395, allocations: 0 / 1.324 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.403e-06/1.395, allocations: 0 / 1.324 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0008/1.396, allocations: 0 / 1.324 GB, free: 13.88 MB / 0.8887 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.06114/1.457, allocations: 24.09 MB / 1.348 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.457, allocations: 12.03 kB / 1.348 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005627/1.463, allocations: 1.047 MB / 1.349 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01666/1.479, allocations: 3.196 MB / 1.352 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04073/1.52, allocations: 21.84 MB / 1.373 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007624/1.521, allocations: 0.7031 MB / 1.374 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004108/1.525, allocations: 0.9409 MB / 1.375 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03785/1.563, allocations: 17.07 MB / 1.391 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003173/1.563, allocations: 15.88 kB / 1.391 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003137/1.566, allocations: 333.5 kB / 1.392 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003363/1.567, allocations: 363.4 kB / 1.392 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03917/1.606, allocations: 21.52 MB / 1.413 GB, free: 2.883 MB / 0.9669 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.3556/1.961, allocations: 84.34 MB / 1.495 GB, free: 404.6 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01817/1.98, allocations: 13.04 MB / 1.508 GB, free: 397.3 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01198/1.992, allocations: 10.04 MB / 1.518 GB, free: 391.6 MB / 0.9669 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.05114/2.043, allocations: 35.63 MB / 1.553 GB, free: 360.7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01196/2.055, allocations: 10.16 MB / 1.563 GB, free: 350.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01668/2.071, allocations: 5.828 MB / 1.568 GB, free: 345.4 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=567): time 2.47e-05/2.072, allocations: 0 / 1.568 GB, free: 345.4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=838): time 0.8369/2.908, allocations: 217.9 MB / 1.781 GB, free: 127.4 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1196/3.028, allocations: 56.08 MB / 1.836 GB, free: 70.17 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02586/3.054, allocations: 20.12 MB / 1.856 GB, free: 50.14 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.003031/3.057, allocations: 219 kB / 1.856 GB, free: 49.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.005619/3.063, allocations: 7.786 MB / 1.863 GB, free: 42.16 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.006022/3.069, allocations: 3.008 MB / 1.866 GB, free: 39.18 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009065/3.078, allocations: 4.082 MB / 1.87 GB, free: 35.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 2.626e-05/3.078, allocations: 301.1 kB / 1.871 GB, free: 34.79 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02375/3.102, allocations: 20.61 MB / 1.891 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3024/3.404, allocations: 23.47 MB / 1.914 GB, free: 415.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05512/3.459, allocations: 39.29 MB / 1.952 GB, free: 404.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.976e-05/3.459, allocations: 18.66 kB / 1.952 GB, free: 404.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1667) (initialization): time 0.5794/4.039, allocations: 135.3 MB / 2.084 GB, free: 308.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/4.039, allocations: 58.62 kB / 2.084 GB, free: 308 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.71e-05/4.039, allocations: 55.83 kB / 2.084 GB, free: 308 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5591/4.598, allocations: 118 MB / 2.2 GB, free: 190.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01691/4.615, allocations: 3.595 MB / 2.203 GB, free: 186.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1238/4.739, allocations: 81.93 MB / 2.283 GB, free: 104.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08999/4.829, allocations: 6.459 MB / 2.289 GB, free: 98.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003732/4.833, allocations: 1.349 MB / 2.291 GB, free: 96.92 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0297/4.862, allocations: 24.01 MB / 2.314 GB, free: 72.89 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02434/4.887, allocations: 22.96 MB / 2.337 GB, free: 48.89 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3023/5.189, allocations: 38.25 MB / 2.374 GB, free: 399.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.728e-05/5.189, allocations: 16.22 kB / 2.374 GB, free: 399.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1667) (initialization_lambda0): time 0.5646/5.754, allocations: 133.7 MB / 2.505 GB, free: 329.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.996e-05/5.754, allocations: 53.7 kB / 2.505 GB, free: 329.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.287e-05/5.754, allocations: 56.09 kB / 2.505 GB, free: 329.1 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.557/6.311, allocations: 117.7 MB / 2.62 GB, free: 211.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01572/6.327, allocations: 3.576 MB / 2.623 GB, free: 208.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1426/6.469, allocations: 86.17 MB / 2.707 GB, free: 121.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09101/6.56, allocations: 6.501 MB / 2.714 GB, free: 115.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005002/6.565, allocations: 1.317 MB / 2.715 GB, free: 114.1 MB / 0.9669 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.007403/6.573, allocations: 0.7746 MB / 2.716 GB, free: 113.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007121/6.58, allocations: 1.613 MB / 2.717 GB, free: 112.5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2016/6.781, allocations: 60.79 MB / 2.777 GB, free: 51.86 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4554/7.237, allocations: 67.06 MB / 2.842 GB, free: 385.3 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.562e-05/7.237, allocations: 28.41 kB / 2.842 GB, free: 385.3 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1913/7.428, allocations: 66.37 MB / 2.907 GB, free: 366.6 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.264/7.692, allocations: 130.7 MB / 3.034 GB, free: 239.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-05/7.692, allocations: 0 / 3.034 GB, free: 239.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01091/7.703, allocations: 1.985 MB / 3.036 GB, free: 237.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3096/8.013, allocations: 81.55 MB / 3.116 GB, free: 155.9 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003322/8.016, allocations: 0.5651 MB / 3.117 GB, free: 155.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09589/8.112, allocations: 58.57 MB / 3.174 GB, free: 96.75 MB / 0.9669 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.1048/8.217, allocations: 54.19 MB / 3.227 GB, free: 41.53 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5117/8.729, allocations: 96.18 MB / 3.321 GB, free: 377 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01434/8.743, allocations: 6.019 MB / 3.327 GB, free: 375.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005984/8.749, allocations: 219.8 kB / 3.327 GB, free: 375.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05434/8.804, allocations: 3.318 MB / 3.33 GB, free: 375.1 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004665/8.808, allocations: 0.8717 MB / 3.331 GB, free: 375.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003012/8.811, allocations: 0.626 MB / 3.331 GB, free: 375 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.02321/8.834, allocations: 13.97 MB / 3.345 GB, free: 370.3 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.51e-07/8.835, allocations: 0 / 3.345 GB, free: 370.3 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.08268/8.917, allocations: 38.87 MB / 3.383 GB, free: 340.6 MB / 0.9669 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.2515/9.169, allocations: 97.82 MB / 3.479 GB, free: 249.1 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.1841/9.353, allocations: 102.6 MB / 3.579 GB, free: 146.6 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/9.353, allocations: 2.297 kB / 3.579 GB, free: 146.6 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.05335/9.406, allocations: 25.51 MB / 3.604 GB, free: 121.1 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.053/9.459, allocations: 7.909 MB / 3.611 GB, free: 113.8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.009/11.47, allocations: 0.5496 GB / 4.161 GB, free: 22.05 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01441/11.48, allocations: 10.45 MB / 4.171 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.02908/11.51, allocations: 7.977 MB / 4.179 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2882/11.8, allocations: 10.36 MB / 4.189 GB, free: 374.3 MB / 0.9669 GB Notification: Performance of SimCode: time 1.022e-06/11.8, allocations: 0 / 4.189 GB, free: 374.3 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.256/14.06, allocations: 0.8127 GB / 5.002 GB, free: 366.5 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.17/43.22, allocations: 2.469 kB / 5.002 GB, free: 366.5 MB / 0.9669 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)