Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.276/1.276, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009952/0.0009951, allocations: 175.2 kB / 327.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.4 MB / 0.5785 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007548/0.0007547, allocations: 89.89 kB / 0.6831 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003924, allocations: 10.66 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1695, allocations: 106.3 MB / 0.9012 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7135/0.883, allocations: 381.7 MB / 1.274 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.8833, allocations: 88.36 kB / 1.274 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.8031/1.686, allocations: 246.3 MB / 1.515 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.733e-06/1.686, allocations: 0 / 1.515 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.952e-05/1.687, allocations: 18.42 kB / 1.515 GB, free: 242.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001841/1.688, allocations: 1.015 MB / 1.516 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/1.688, allocations: 8.031 kB / 1.516 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007899/1.689, allocations: 180 kB / 1.516 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0159/1.705, allocations: 10.6 MB / 1.526 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/1.705, allocations: 97.44 kB / 1.526 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.33e-05/1.706, allocations: 36.38 kB / 1.526 GB, free: 230 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008328/1.706, allocations: 0.5089 MB / 1.527 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/1.706, allocations: 0 / 1.527 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.406e-05/1.707, allocations: 23.88 kB / 1.527 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/1.707, allocations: 12 kB / 1.527 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008504/1.707, allocations: 422.6 kB / 1.527 GB, free: 229.1 MB / 0.8855 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.002335/1.71, allocations: 2.27 MB / 1.529 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008222/1.711, allocations: 382.9 kB / 1.53 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004019/1.711, allocations: 237 kB / 1.53 GB, free: 226 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/1.711, allocations: 340.6 kB / 1.53 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004867/1.712, allocations: 320 kB / 1.531 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 1.694e-06/1.712, allocations: 0 / 1.531 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.001895/1.714, allocations: 0.9024 MB / 1.531 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/1.714, allocations: 85.05 kB / 1.532 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/1.714, allocations: 486.9 kB / 1.532 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/1.714, allocations: 37.69 kB / 1.532 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/1.714, allocations: 276.4 kB / 1.532 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/1.714, allocations: 110.4 kB / 1.532 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/1.714, allocations: 4 kB / 1.532 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/1.714, allocations: 366.7 kB / 1.533 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/1.715, allocations: 185.4 kB / 1.533 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/1.715, allocations: 284 kB / 1.533 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007587/1.716, allocations: 489 kB / 1.534 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.716, allocations: 0 / 1.534 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001157/1.717, allocations: 0.6433 MB / 1.534 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.781e-05/1.717, allocations: 168 kB / 1.534 GB, free: 221 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.717, allocations: 0 / 1.534 GB, free: 221 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002875/1.718, allocations: 76.73 kB / 1.535 GB, free: 221 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/1.718, allocations: 79.95 kB / 1.535 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002872/1.718, allocations: 0.5952 MB / 1.535 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/1.719, allocations: 91.59 kB / 1.535 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/1.719, allocations: 16.09 kB / 1.535 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/1.719, allocations: 8.875 kB / 1.535 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001022/1.72, allocations: 0.5722 MB / 1.536 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/1.72, allocations: 3.984 kB / 1.536 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001244/1.72, allocations: 56.81 kB / 1.536 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/1.72, allocations: 80.05 kB / 1.536 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009861/1.721, allocations: 1.638 MB / 1.538 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/1.722, allocations: 79.69 kB / 1.538 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/1.722, allocations: 27.98 kB / 1.538 GB, free: 217.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002132/1.722, allocations: 290.7 kB / 1.538 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/1.722, allocations: 55.34 kB / 1.538 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/1.723, allocations: 0.6842 MB / 1.539 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.723, allocations: 4 kB / 1.539 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/1.723, allocations: 0 / 1.539 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009802/1.724, allocations: 0.8288 MB / 1.54 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/1.726, allocations: 1.322 MB / 1.541 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.726, allocations: 0 / 1.541 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/1.726, allocations: 75.98 kB / 1.541 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.842e-05/1.726, allocations: 40.83 kB / 1.541 GB, free: 214 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/1.726, allocations: 12 kB / 1.541 GB, free: 214 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002057/1.727, allocations: 0.5835 MB / 1.542 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.727, allocations: 4.031 kB / 1.542 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/1.728, allocations: 1.003 MB / 1.543 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/1.728, allocations: 184.2 kB / 1.543 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/1.728, allocations: 12 kB / 1.543 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004825/1.729, allocations: 71.88 kB / 1.543 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/1.729, allocations: 23.91 kB / 1.543 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/1.729, allocations: 23.98 kB / 1.543 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002709/1.729, allocations: 342.8 kB / 1.543 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/1.729, allocations: 0 / 1.543 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001046/1.73, allocations: 379.4 kB / 1.543 GB, free: 211.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007046/1.731, allocations: 431.8 kB / 1.544 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001593/1.733, allocations: 0.9908 MB / 1.545 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.733, allocations: 4.062 kB / 1.545 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004813/1.733, allocations: 332 kB / 1.545 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/1.734, allocations: 236.4 kB / 1.545 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/1.736, allocations: 1.318 MB / 1.547 GB, free: 208 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/1.736, allocations: 0.8745 MB / 1.548 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004746/1.737, allocations: 128.3 kB / 1.548 GB, free: 207 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.556e-05/1.737, allocations: 47.42 kB / 1.548 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of SimCode: time 2.51e-07/1.737, allocations: 0 / 1.548 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.01593/1.753, allocations: 12.08 MB / 1.56 GB, free: 194.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)