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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001599/0.001599, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4914/0.4914, allocations: 87.5 MB / 104.9 MB, free: 13.01 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.337/1.337, allocations: 222.9 MB / 349.1 MB, free: 2.742 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.001331/0.001331, allocations: 106.8 kB / 420 MB, free: 8.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 60.05 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3661, allocations: 70.06 MB / 0.5575 GB, free: 44.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001677/0.3679, allocations: 0.633 MB / 0.5581 GB, free: 44.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000241/0.3681, allocations: 57.72 kB / 0.5582 GB, free: 44.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.077e-06/0.3681, allocations: 0 / 0.5582 GB, free: 44.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.3682, allocations: 0 / 0.5582 GB, free: 44.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.961e-06/0.3682, allocations: 1.188 kB / 0.5582 GB, free: 44.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.3684, allocations: 11.42 kB / 0.5582 GB, free: 44.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.282e-05/0.3685, allocations: 5.219 kB / 0.5582 GB, free: 44.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.3685, allocations: 1.062 kB / 0.5582 GB, free: 44.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.387e-05/0.3685, allocations: 5.094 kB / 0.5582 GB, free: 44.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.596e-05/0.3686, allocations: 5.266 kB / 0.5582 GB, free: 44.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.527e-06/0.3686, allocations: 0 / 0.5582 GB, free: 44.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.3687, allocations: 26.28 kB / 0.5582 GB, free: 44.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.3687, allocations: 0 / 0.5582 GB, free: 44.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.3687, allocations: 1.125 kB / 0.5582 GB, free: 44.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.067e-05/0.3688, allocations: 17.7 kB / 0.5582 GB, free: 44.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3688, allocations: 4 kB / 0.5583 GB, free: 44.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3688, allocations: 1.125 kB / 0.5583 GB, free: 44.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.3688, allocations: 0 / 0.5583 GB, free: 44.13 MB / 410.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.0002268/0.3691, allocations: 306.8 kB / 0.5585 GB, free: 43.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3691, allocations: 13.39 kB / 0.5586 GB, free: 43.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002527/0.3694, allocations: 17.47 kB / 0.5586 GB, free: 43.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.572e-05/0.3694, allocations: 161.5 kB / 0.5587 GB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3695, allocations: 4.375 kB / 0.5587 GB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.3695, allocations: 1.531 kB / 0.5587 GB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.3696, allocations: 38.56 kB / 0.5588 GB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3696, allocations: 192 / 0.5588 GB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3696, allocations: 3.938 kB / 0.5588 GB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3696, allocations: 0 / 0.5588 GB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.3697, allocations: 10.33 kB / 0.5588 GB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.725e-05/0.3698, allocations: 151.3 kB / 0.5589 GB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.933e-05/0.3699, allocations: 22.45 kB / 0.5589 GB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.66e-05/0.37, allocations: 23.31 kB / 0.559 GB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.37, allocations: 1.312 kB / 0.559 GB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.37, allocations: 30.56 kB / 0.559 GB, free: 43.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.37, allocations: 1.219 kB / 0.559 GB, free: 43.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002564/0.3703, allocations: 52.09 kB / 0.5591 GB, free: 43.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.3703, allocations: 56.58 kB / 0.5591 GB, free: 43.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.585e-05/0.3704, allocations: 89.86 kB / 0.5592 GB, free: 43.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.545e-06/0.3704, allocations: 25.7 kB / 0.5592 GB, free: 43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.04e-05/0.3704, allocations: 80.14 kB / 0.5593 GB, free: 42.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.3704, allocations: 5.375 kB / 0.5593 GB, free: 42.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.3704, allocations: 14.81 kB / 0.5593 GB, free: 42.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.176e-05/0.3705, allocations: 316.1 kB / 0.5596 GB, free: 42.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.3705, allocations: 7.766 kB / 0.5596 GB, free: 42.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.3706, allocations: 2.281 kB / 0.5596 GB, free: 42.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.434e-05/0.3707, allocations: 15.5 kB / 0.5596 GB, free: 42.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3707, allocations: 0 / 0.5596 GB, free: 42.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001102/0.3708, allocations: 47.53 kB / 0.5597 GB, free: 42.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3708, allocations: 8.625 kB / 0.5597 GB, free: 42.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3708, allocations: 1.188 kB / 0.5597 GB, free: 42.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3708, allocations: 3.938 kB / 0.5597 GB, free: 42.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.3709, allocations: 7.484 kB / 0.5597 GB, free: 42.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3709, allocations: 0 / 0.5597 GB, free: 42.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.371, allocations: 1.031 kB / 0.5597 GB, free: 42.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.371, allocations: 1.156 kB / 0.5597 GB, free: 42.5 MB / 410.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/0.371, allocations: 107 kB / 0.5598 GB, free: 42.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.371, allocations: 9.109 kB / 0.5598 GB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.3711, allocations: 7.062 kB / 0.5598 GB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3711, allocations: 1.094 kB / 0.5598 GB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3711, allocations: 0 / 0.5598 GB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3711, allocations: 0 / 0.5598 GB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.504e-05/0.3711, allocations: 146.8 kB / 0.56 GB, free: 42.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3711, allocations: 1.125 kB / 0.56 GB, free: 42.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.3712, allocations: 6.484 kB / 0.56 GB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3712, allocations: 0 / 0.56 GB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.3712, allocations: 5.031 kB / 0.56 GB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3712, allocations: 4 kB / 0.56 GB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3712, allocations: 5.062 kB / 0.56 GB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.3715, allocations: 0.6189 MB / 0.5606 GB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.3716, allocations: 81.09 kB / 0.5607 GB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.497e-06/0.3716, allocations: 5.156 kB / 0.5607 GB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.178e-05/0.3716, allocations: 2.062 kB / 0.5607 GB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-06/0.3716, allocations: 0 / 0.5607 GB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.3716, allocations: 5.062 kB / 0.5607 GB, free: 41.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.208e-05/0.3716, allocations: 79.22 kB / 0.5608 GB, free: 41.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3717, allocations: 0 / 0.5608 GB, free: 41.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002661/0.3719, allocations: 1.188 kB / 0.5608 GB, free: 41.33 MB / 410.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.866e-05/0.372, allocations: 100.5 kB / 0.5609 GB, free: 41.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.3722, allocations: 15.7 kB / 0.5609 GB, free: 41.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3722, allocations: 0 / 0.5609 GB, free: 41.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/0.3722, allocations: 4.25 kB / 0.5609 GB, free: 41.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.3724, allocations: 13.17 kB / 0.5609 GB, free: 41.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.3726, allocations: 178.6 kB / 0.5611 GB, free: 41.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.3728, allocations: 0.6753 MB / 0.5617 GB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.954e-05/0.3728, allocations: 5.922 kB / 0.5617 GB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.3728, allocations: 7.438 kB / 0.5617 GB, free: 40.3 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3728, allocations: 0 / 0.5617 GB, free: 40.3 MB / 410.7 MB Notification: Performance of Templates: time 0.001804/0.3747, allocations: 235.6 kB / 0.562 GB, free: 40.17 MB / 410.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)