Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 172.2 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5169/0.5169, allocations: 86.27 MB / 103.8 MB, free: 14.54 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 348.4 MB, free: 5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007701/0.0007702, allocations: 95.44 kB / 420.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003759, allocations: 15.98 kB / 0.4901 GB, free: 7.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3445, allocations: 71.02 MB / 0.5595 GB, free: 43.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1192/0.4637, allocations: 99.4 MB / 0.6565 GB, free: 10.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.464, allocations: 80.55 kB / 0.6566 GB, free: 10.02 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001361/0.4654, allocations: 0.5408 MB / 0.6571 GB, free: 9.488 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4654, allocations: 0 / 0.6571 GB, free: 9.488 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.4655, allocations: 0 / 0.6571 GB, free: 9.488 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002618/0.4657, allocations: 315.6 kB / 0.6574 GB, free: 9.129 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4658, allocations: 12.02 kB / 0.6575 GB, free: 9.117 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.4659, allocations: 12.92 kB / 0.6575 GB, free: 9.105 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.765e-05/0.4661, allocations: 168.4 kB / 0.6576 GB, free: 8.902 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.4661, allocations: 384 / 0.6576 GB, free: 8.902 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.4661, allocations: 8.312 kB / 0.6576 GB, free: 8.895 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.4662, allocations: 34.25 kB / 0.6577 GB, free: 8.855 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4663, allocations: 192 / 0.6577 GB, free: 8.855 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.4663, allocations: 7.922 kB / 0.6577 GB, free: 8.848 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4663, allocations: 0 / 0.6577 GB, free: 8.848 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.4664, allocations: 7.984 kB / 0.6577 GB, free: 8.84 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.4665, allocations: 157.6 kB / 0.6578 GB, free: 8.637 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.554e-05/0.4666, allocations: 22.59 kB / 0.6579 GB, free: 8.605 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.4667, allocations: 8.797 kB / 0.6579 GB, free: 8.594 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.4667, allocations: 4.062 kB / 0.6579 GB, free: 8.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.4667, allocations: 34.55 kB / 0.6579 GB, free: 8.547 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 2.735e-06/0.4667, allocations: 4 kB / 0.6579 GB, free: 8.543 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002082/0.467, allocations: 49.62 kB / 0.658 GB, free: 8.488 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.467, allocations: 51.41 kB / 0.658 GB, free: 8.426 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.607e-05/0.4671, allocations: 89.86 kB / 0.6581 GB, free: 8.328 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.4671, allocations: 29.64 kB / 0.6581 GB, free: 8.293 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.4671, allocations: 80.14 kB / 0.6582 GB, free: 8.211 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.4671, allocations: 0 / 0.6582 GB, free: 8.211 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.4672, allocations: 0 / 0.6582 GB, free: 8.211 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4673, allocations: 319 kB / 0.6585 GB, free: 7.891 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.207e-05/0.4673, allocations: 7.938 kB / 0.6585 GB, free: 7.883 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.4674, allocations: 7.984 kB / 0.6585 GB, free: 7.875 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.509e-05/0.4675, allocations: 20.84 kB / 0.6585 GB, free: 7.852 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4675, allocations: 0 / 0.6585 GB, free: 7.852 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001182/0.4676, allocations: 41.75 kB / 0.6586 GB, free: 7.805 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4676, allocations: 4 kB / 0.6586 GB, free: 7.801 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4676, allocations: 0 / 0.6586 GB, free: 7.801 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4677, allocations: 3.938 kB / 0.6586 GB, free: 7.797 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.388e-05/0.4677, allocations: 4 kB / 0.6586 GB, free: 7.793 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4677, allocations: 0 / 0.6586 GB, free: 7.793 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/0.4678, allocations: 11.89 kB / 0.6586 GB, free: 7.781 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.4678, allocations: 0 / 0.6586 GB, free: 7.781 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.01e-05/0.4679, allocations: 113.8 kB / 0.6587 GB, free: 7.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.4679, allocations: 0 / 0.6587 GB, free: 7.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.4679, allocations: 11.06 kB / 0.6587 GB, free: 7.645 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.468, allocations: 4 kB / 0.6587 GB, free: 7.641 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.468, allocations: 0 / 0.6587 GB, free: 7.641 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.468, allocations: 0 / 0.6587 GB, free: 7.641 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.4681, allocations: 145.7 kB / 0.6589 GB, free: 7.449 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4681, allocations: 0 / 0.6589 GB, free: 7.449 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.4681, allocations: 4 kB / 0.6589 GB, free: 7.445 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.4681, allocations: 0 / 0.6589 GB, free: 7.445 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.4682, allocations: 11.88 kB / 0.6589 GB, free: 7.434 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4682, allocations: 3.984 kB / 0.6589 GB, free: 7.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4682, allocations: 0 / 0.6589 GB, free: 7.43 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.4683, allocations: 65.12 kB / 0.6589 GB, free: 7.348 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.4684, allocations: 77.11 kB / 0.659 GB, free: 7.254 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.4684, allocations: 7.938 kB / 0.659 GB, free: 7.246 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.363e-05/0.4684, allocations: 12.02 kB / 0.659 GB, free: 7.234 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.4684, allocations: 0 / 0.659 GB, free: 7.234 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.4685, allocations: 3.938 kB / 0.659 GB, free: 7.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.652e-05/0.4685, allocations: 75.28 kB / 0.6591 GB, free: 7.156 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4685, allocations: 0 / 0.6591 GB, free: 7.156 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.4687, allocations: 0 / 0.6591 GB, free: 7.156 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00012/0.4688, allocations: 95.25 kB / 0.6592 GB, free: 7.051 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.4689, allocations: 15.98 kB / 0.6592 GB, free: 7.035 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4689, allocations: 0 / 0.6592 GB, free: 7.035 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.05e-05/0.469, allocations: 11.92 kB / 0.6592 GB, free: 7.023 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.4691, allocations: 6.391 kB / 0.6592 GB, free: 7.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.4694, allocations: 78.75 kB / 0.6593 GB, free: 6.914 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.4696, allocations: 0.6692 MB / 0.66 GB, free: 6.219 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.563e-05/0.4697, allocations: 4.125 kB / 0.66 GB, free: 6.215 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/0.4697, allocations: 11.44 kB / 0.66 GB, free: 6.203 MB / 474.7 MB Notification: Performance of SimCode: time 1.643e-06/0.4697, allocations: 0 / 0.66 GB, free: 6.203 MB / 474.7 MB Notification: Performance of Templates: time 0.001691/0.4714, allocations: 212.3 kB / 0.6602 GB, free: 5.996 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)