Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.672/1.672, allocations: 288.4 MB / 304.3 MB, free: 8.098 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 183.2 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 0.6317 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000759/0.000759, allocations: 103.4 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003939, allocations: 12.81 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.212, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9394/1.151, allocations: 389.3 MB / 1.361 GB, free: 7.102 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.152, allocations: 93.5 kB / 1.361 GB, free: 7.051 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.9334/2.085, allocations: 253.2 MB / 1.608 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.683e-06/2.085, allocations: 0 / 1.608 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.226e-05/2.085, allocations: 23.94 kB / 1.608 GB, free: 179.6 MB / 0.9323 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.001839/2.087, allocations: 1.008 MB / 1.609 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/2.087, allocations: 19.95 kB / 1.609 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007476/2.088, allocations: 180 kB / 1.609 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01848/2.106, allocations: 10.95 MB / 1.62 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003027/2.107, allocations: 97.48 kB / 1.62 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/2.107, allocations: 40.38 kB / 1.62 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009424/2.108, allocations: 0.5089 MB / 1.621 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/2.108, allocations: 0 / 1.621 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/2.108, allocations: 16 kB / 1.621 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/2.108, allocations: 11.98 kB / 1.621 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008896/2.109, allocations: 430.6 kB / 1.621 GB, free: 166.1 MB / 0.9323 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.002664/2.111, allocations: 2.261 MB / 1.623 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008921/2.112, allocations: 382.9 kB / 1.624 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004362/2.113, allocations: 244.9 kB / 1.624 GB, free: 163 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/2.113, allocations: 340.6 kB / 1.624 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005421/2.114, allocations: 309.5 kB / 1.625 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 2.514e-06/2.114, allocations: 4 kB / 1.625 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.002109/2.116, allocations: 0.9106 MB / 1.625 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/2.116, allocations: 92.98 kB / 1.626 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/2.116, allocations: 490.9 kB / 1.626 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/2.116, allocations: 33.7 kB / 1.626 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/2.116, allocations: 280.4 kB / 1.626 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/2.116, allocations: 102.5 kB / 1.626 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/2.117, allocations: 8 kB / 1.626 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.667e-05/2.117, allocations: 362.8 kB / 1.627 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/2.117, allocations: 187.7 kB / 1.627 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/2.117, allocations: 272 kB / 1.627 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007861/2.118, allocations: 489.1 kB / 1.628 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/2.118, allocations: 0 / 1.628 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001222/2.119, allocations: 0.6472 MB / 1.628 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.072e-05/2.12, allocations: 160 kB / 1.628 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/2.12, allocations: 0 / 1.628 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003274/2.12, allocations: 72.8 kB / 1.629 GB, free: 158 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/2.12, allocations: 79.89 kB / 1.629 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003419/2.121, allocations: 0.6069 MB / 1.629 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/2.121, allocations: 83.69 kB / 1.629 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/2.121, allocations: 20 kB / 1.629 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/2.121, allocations: 4 kB / 1.629 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0011/2.122, allocations: 0.58 MB / 1.63 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/2.122, allocations: 0 / 1.63 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/2.123, allocations: 56.81 kB / 1.63 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/2.123, allocations: 80.05 kB / 1.63 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/2.124, allocations: 1.634 MB / 1.632 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/2.125, allocations: 87.56 kB / 1.632 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/2.125, allocations: 24.17 kB / 1.632 GB, free: 154.6 MB / 0.9323 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.0003558/2.125, allocations: 299.9 kB / 1.632 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/2.125, allocations: 55.34 kB / 1.632 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/2.126, allocations: 0.6688 MB / 1.633 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/2.126, allocations: 4 kB / 1.633 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/2.126, allocations: 0 / 1.633 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/2.127, allocations: 0.8401 MB / 1.634 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/2.129, allocations: 1.326 MB / 1.635 GB, free: 151.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/2.129, allocations: 0 / 1.635 GB, free: 151.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/2.13, allocations: 71.88 kB / 1.635 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001171/2.13, allocations: 44.94 kB / 1.635 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/2.13, allocations: 11.98 kB / 1.635 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002398/2.13, allocations: 0.5719 MB / 1.636 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/2.13, allocations: 3.938 kB / 1.636 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/2.132, allocations: 1.018 MB / 1.637 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/2.132, allocations: 188.3 kB / 1.637 GB, free: 149.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.908e-05/2.132, allocations: 8 kB / 1.637 GB, free: 149.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/2.133, allocations: 67.91 kB / 1.637 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/2.133, allocations: 23.91 kB / 1.637 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/2.133, allocations: 23.98 kB / 1.637 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003474/2.133, allocations: 346.8 kB / 1.637 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.21e-07/2.133, allocations: 0 / 1.637 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00134/2.134, allocations: 379.5 kB / 1.638 GB, free: 148.4 MB / 0.9323 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.0008161/2.135, allocations: 421.5 kB / 1.638 GB, free: 148 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001803/2.137, allocations: 0.9915 MB / 1.639 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/2.137, allocations: 0 / 1.639 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005106/2.138, allocations: 331.4 kB / 1.639 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/2.139, allocations: 237.5 kB / 1.639 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/2.141, allocations: 1.343 MB / 1.641 GB, free: 145 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/2.141, allocations: 0.8784 MB / 1.642 GB, free: 144.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000504/2.142, allocations: 132.3 kB / 1.642 GB, free: 144 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/2.142, allocations: 47.42 kB / 1.642 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of SimCode: time 2.41e-07/2.142, allocations: 0 / 1.642 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.01694/2.159, allocations: 12.16 MB / 1.654 GB, free: 131.9 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)