Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 387.1 MB / 399.7 MB, free: 9.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 171.3 kB / 492.3 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009843/0.0009843, allocations: 87.89 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.163e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3184, allocations: 142.3 MB / 1.212 GB, free: 38.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.401/1.719, allocations: 462.4 MB / 1.664 GB, free: 0.7188 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/1.72, allocations: 100 kB / 1.664 GB, free: 0.668 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 36.67/38.39, allocations: 8.767 GB / 10.43 GB, free: 1.609 MB / 1.417 GB Notification: Performance of FrontEnd: time 1.874e-06/38.39, allocations: 0 / 10.43 GB, free: 1.609 MB / 1.417 GB Notification: Performance of Transformations before backend: time 0.00396/38.39, allocations: 435.5 kB / 10.43 GB, free: 1.184 MB / 1.417 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 2.472/40.86, allocations: 13.48 MB / 10.44 GB, free: 110.9 MB / 1.417 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/40.86, allocations: 13.19 kB / 10.44 GB, free: 110.9 MB / 1.417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02125/40.89, allocations: 2.55 MB / 10.45 GB, free: 110 MB / 1.417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08711/40.97, allocations: 21.68 MB / 10.47 GB, free: 107.5 MB / 1.417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001261/40.97, allocations: 0.6828 MB / 10.47 GB, free: 107.5 MB / 1.417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006228/40.98, allocations: 0.9573 MB / 10.47 GB, free: 107.5 MB / 1.417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04771/41.03, allocations: 15.59 MB / 10.49 GB, free: 106.7 MB / 1.417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000516/41.03, allocations: 10.97 kB / 10.49 GB, free: 106.7 MB / 1.417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004658/41.03, allocations: 327.2 kB / 10.49 GB, free: 106.7 MB / 1.417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004886/41.03, allocations: 368.8 kB / 10.49 GB, free: 106.7 MB / 1.417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04314/41.08, allocations: 19.72 MB / 10.51 GB, free: 106.6 MB / 1.417 GB Warning: The model contains alias variables with conflicting start and/or 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.1711/41.25, allocations: 79.75 MB / 10.58 GB, free: 73.26 MB / 1.417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02262/41.27, allocations: 12 MB / 10.59 GB, free: 72.81 MB / 1.417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01651/41.29, allocations: 9.175 MB / 10.6 GB, free: 72.75 MB / 1.417 GB Warning: The model contains alias variables with conflicting start and/or 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.0867/41.37, allocations: 34 MB / 10.64 GB, free: 64.14 MB / 1.417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01885/41.39, allocations: 9.324 MB / 10.65 GB, free: 63.95 MB / 1.417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04715/41.44, allocations: 15.08 MB / 10.66 GB, free: 63.67 MB / 1.417 GB Notification: Performance of pre-optimization done (n=614): time 8.218e-05/41.44, allocations: 0.6562 kB / 10.66 GB, free: 63.67 MB / 1.417 GB Notification: Performance of matching and sorting (n=908): time 0.847/42.29, allocations: 228.7 MB / 10.88 GB, free: 38.45 MB / 1.417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1057/42.39, allocations: 46.18 MB / 10.93 GB, free: 10.24 MB / 1.417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03602/42.43, allocations: 14.31 MB / 10.94 GB, free: 14.24 MB / 1.432 GB Notification: Performance of collectPreVariables (initialization): time 0.006163/42.44, allocations: 241.7 kB / 10.94 GB, free: 14 MB / 1.432 GB Notification: Performance of collectInitialEqns (initialization): time 0.01298/42.45, allocations: 7.225 MB / 10.95 GB, free: 7.398 MB / 1.432 GB Notification: Performance of collectInitialBindings (initialization): time 0.01331/42.46, allocations: 3.236 MB / 10.95 GB, free: 4.461 MB / 1.432 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00614/42.47, allocations: 208 kB / 10.95 GB, free: 4.258 MB / 1.432 GB Notification: Performance of setup shared object (initialization): time 0.001119/42.47, allocations: 0.7466 MB / 10.95 GB, free: 3.637 MB / 1.432 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0403/42.51, allocations: 18.97 MB / 10.97 GB, free: 4.09 MB / 1.448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.373/43.88, allocations: 21.33 MB / 10.99 GB, free: 132.9 MB / 1.448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03628/43.92, allocations: 19.7 MB / 11.01 GB, free: 132.6 MB / 1.448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001852/43.92, allocations: 14.72 kB / 11.01 GB, free: 132.6 MB / 1.448 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 0.6246/44.54, allocations: 146.4 MB / 11.16 GB, free: 132 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 0.008097/44.55, allocations: 35.43 MB / 11.19 GB, free: 95.05 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003731/44.55, allocations: 50.75 kB / 11.19 GB, free: 95.05 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6166/45.17, allocations: 146.9 MB / 11.33 GB, free: 92.78 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02084/45.19, allocations: 3.708 MB / 11.34 GB, free: 92.74 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1632/45.35, allocations: 73.19 MB / 11.41 GB, free: 55.76 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.121/45.47, allocations: 7.318 MB / 11.42 GB, free: 48.68 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008642/45.48, allocations: 1.441 MB / 11.42 GB, free: 47.32 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/45.48, allocations: 4 kB / 11.42 GB, free: 47.32 MB / 1.448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.833/47.32, allocations: 145.1 MB / 11.56 GB, free: 158.4 MB / 1.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003246/47.32, allocations: 54.42 kB / 11.56 GB, free: 158.4 MB / 1.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6201/47.94, allocations: 147.3 MB / 11.7 GB, free: 158.3 MB / 1.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01962/47.96, allocations: 3.688 MB / 11.71 GB, free: 158.3 MB / 1.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1545/48.11, allocations: 77 MB / 11.78 GB, free: 153.5 MB / 1.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1217/48.23, allocations: 7.296 MB / 11.79 GB, free: 152.4 MB / 1.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01069/48.24, allocations: 1.399 MB / 11.79 GB, free: 152.4 MB / 1.495 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1064): * Single equations (assignments): 1046 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.0109/48.25, allocations: 0.6723 MB / 11.79 GB, free: 152.2 MB / 1.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00984/48.26, allocations: 1.494 MB / 11.79 GB, free: 152.2 MB / 1.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4227/48.69, allocations: 133 MB / 11.92 GB, free: 122.6 MB / 1.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2087/48.89, allocations: 69.5 MB / 11.99 GB, free: 68.62 MB / 1.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000115/48.9, allocations: 32 kB / 11.99 GB, free: 68.59 MB / 1.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2046/49.1, allocations: 68.68 MB / 12.06 GB, free: 15.42 MB / 1.495 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.57/50.67, allocations: 154.3 MB / 12.21 GB, free: 157.6 MB / 1.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001107/50.67, allocations: 1.859 kB / 12.21 GB, free: 157.6 MB / 1.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01297/50.68, allocations: 2.148 MB / 12.21 GB, free: 157.6 MB / 1.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3788/51.06, allocations: 97.5 MB / 12.31 GB, free: 157.4 MB / 1.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004733/51.07, allocations: 0.6529 MB / 12.31 GB, free: 157.4 MB / 1.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1471/51.21, allocations: 77 MB / 12.38 GB, free: 147 MB / 1.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.08888/51.3, allocations: 39.69 MB / 12.42 GB, free: 140.1 MB / 1.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2517/51.55, allocations: 99.4 MB / 12.52 GB, free: 118.3 MB / 1.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02228/51.58, allocations: 6.709 MB / 12.52 GB, free: 114.7 MB / 1.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0108/51.59, allocations: 222.9 kB / 12.52 GB, free: 114.6 MB / 1.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06817/51.66, allocations: 3.932 MB / 12.53 GB, free: 112.3 MB / 1.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005776/51.66, allocations: 0.9813 MB / 12.53 GB, free: 112 MB / 1.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004735/51.67, allocations: 0.7201 MB / 12.53 GB, free: 111.6 MB / 1.495 GB Notification: Performance of sorting global known variables: time 0.02635/51.69, allocations: 10.87 MB / 12.54 GB, free: 102.8 MB / 1.495 GB Notification: Performance of sort global known variables: time 5.21e-07/51.69, allocations: 0 / 12.54 GB, free: 102.8 MB / 1.495 GB Notification: Performance of remove unused functions: time 0.1385/51.83, allocations: 50.99 MB / 12.59 GB, free: 52.01 MB / 1.495 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[32],$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]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (667): * Single equations (assignments): 644 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {14 89,42 208} Notification: Performance of Backend phase and start with SimCode phase: time 0.016/51.85, allocations: 5.576 MB / 12.6 GB, free: 46.93 MB / 1.495 GB Notification: Performance of simCode: created initialization part: time 1.333/53.18, allocations: 76.84 MB / 12.67 GB, free: 167.9 MB / 1.495 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/53.18, allocations: 2.719 kB / 12.67 GB, free: 167.9 MB / 1.495 GB Notification: Performance of simCode: created simulation system equations: time 0.103/53.28, allocations: 50.47 MB / 12.72 GB, free: 165.9 MB / 1.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05858/53.34, allocations: 7.399 MB / 12.73 GB, free: 165.6 MB / 1.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1451/53.49, allocations: 46.85 MB / 12.77 GB, free: 158.2 MB / 1.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0254/53.51, allocations: 10.42 MB / 12.78 GB, free: 156.8 MB / 1.495 GB Notification: Performance of simCode: alias equations: time 0.07435/53.59, allocations: 11.41 MB / 12.79 GB, free: 155.9 MB / 1.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01358/53.6, allocations: 1.87 MB / 12.8 GB, free: 155.9 MB / 1.495 GB Notification: Performance of SimCode: time 1.663e-06/53.6, allocations: 0 / 12.8 GB, free: 155.9 MB / 1.495 GB Notification: Performance of Templates: time 2.037/55.64, allocations: 0.643 GB / 13.44 GB, free: 182.2 MB / 1.526 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)