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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007841/0.0007842, allocations: 89.56 kB / 16.66 MB, free: 6.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008673/0.0008675, allocations: 179.6 kB / 17.58 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 241.6 MB, free: 168 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7102/0.7102, allocations: 115.5 MB / 408.2 MB, free: 7.062 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 12 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3459, allocations: 77.51 MB / 0.5606 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0006623/0.3466, allocations: 313.6 kB / 0.5609 GB, free: 36.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002575/0.3468, allocations: 56.5 kB / 0.5609 GB, free: 36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.007e-05/0.3468, allocations: 0 / 0.5609 GB, free: 36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.111e-05/0.3469, allocations: 1.438 kB / 0.5609 GB, free: 36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.209e-06/0.3469, allocations: 0 / 0.5609 GB, free: 36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.3471, allocations: 9.781 kB / 0.561 GB, free: 36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.338e-05/0.3471, allocations: 3.562 kB / 0.561 GB, free: 36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.3472, allocations: 4.609 kB / 0.561 GB, free: 36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.371e-05/0.3472, allocations: 1.969 kB / 0.561 GB, free: 36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.014e-05/0.3472, allocations: 1.953 kB / 0.561 GB, free: 36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.3472, allocations: 0.625 kB / 0.561 GB, free: 36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.946e-05/0.3473, allocations: 22.17 kB / 0.561 GB, free: 35.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.247e-06/0.3473, allocations: 5.266 kB / 0.561 GB, free: 35.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.3474, allocations: 25.7 kB / 0.561 GB, free: 35.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.903e-05/0.3474, allocations: 16.12 kB / 0.561 GB, free: 35.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3474, allocations: 0 / 0.561 GB, free: 35.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.3475, allocations: 2.312 kB / 0.561 GB, free: 35.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.3475, allocations: 0 / 0.561 GB, free: 35.95 MB / 446.1 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.0002001/0.3477, allocations: 315.9 kB / 0.5613 GB, free: 35.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3477, allocations: 13.94 kB / 0.5613 GB, free: 35.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.348, allocations: 18.67 kB / 0.5614 GB, free: 35.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.048e-05/0.348, allocations: 164.9 kB / 0.5615 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.348, allocations: 1.406 kB / 0.5615 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.348, allocations: 4.312 kB / 0.5615 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.3482, allocations: 35.41 kB / 0.5616 GB, free: 35.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.3482, allocations: 0.8906 kB / 0.5616 GB, free: 35.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.3482, allocations: 3.938 kB / 0.5616 GB, free: 35.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3482, allocations: 0 / 0.5616 GB, free: 35.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.488e-05/0.3483, allocations: 10.86 kB / 0.5616 GB, free: 35.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.198e-05/0.3484, allocations: 149.6 kB / 0.5617 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.556e-05/0.3485, allocations: 20.69 kB / 0.5617 GB, free: 35.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.3485, allocations: 16.5 kB / 0.5618 GB, free: 35.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.3485, allocations: 0.8906 kB / 0.5618 GB, free: 35.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.082e-05/0.3486, allocations: 33.62 kB / 0.5618 GB, free: 35.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3486, allocations: 0 / 0.5618 GB, free: 35.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002259/0.3488, allocations: 52.97 kB / 0.5618 GB, free: 35.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.3488, allocations: 51.41 kB / 0.5619 GB, free: 34.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.657e-05/0.3488, allocations: 93.48 kB / 0.562 GB, free: 34.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.3489, allocations: 25.7 kB / 0.562 GB, free: 34.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.267e-06/0.3489, allocations: 80.14 kB / 0.5621 GB, free: 34.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.3489, allocations: 2.234 kB / 0.5621 GB, free: 34.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.3489, allocations: 10.25 kB / 0.5621 GB, free: 34.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.21e-05/0.349, allocations: 312.3 kB / 0.5624 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.617e-05/0.349, allocations: 11.47 kB / 0.5624 GB, free: 34.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.67e-05/0.3491, allocations: 3.812 kB / 0.5624 GB, free: 34.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.661e-05/0.3492, allocations: 21.2 kB / 0.5624 GB, free: 34.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3492, allocations: 1.375 kB / 0.5624 GB, free: 34.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000116/0.3493, allocations: 39.81 kB / 0.5625 GB, free: 34.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3493, allocations: 12.38 kB / 0.5625 GB, free: 34.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3493, allocations: 1.734 kB / 0.5625 GB, free: 34.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3493, allocations: 3.938 kB / 0.5625 GB, free: 34.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.3494, allocations: 4.656 kB / 0.5625 GB, free: 34.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.3494, allocations: 0 / 0.5625 GB, free: 34.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.261e-05/0.3495, allocations: 6.812 kB / 0.5625 GB, free: 34.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.3495, allocations: 1.219 kB / 0.5625 GB, free: 34.39 MB / 446.1 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.077e-05/0.3495, allocations: 111.5 kB / 0.5626 GB, free: 34.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-06/0.3495, allocations: 4.594 kB / 0.5626 GB, free: 34.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.248e-05/0.3496, allocations: 8.406 kB / 0.5626 GB, free: 34.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3496, allocations: 0.6562 kB / 0.5626 GB, free: 34.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3496, allocations: 0 / 0.5626 GB, free: 34.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.3496, allocations: 2.375 kB / 0.5626 GB, free: 34.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.967e-05/0.3496, allocations: 148.2 kB / 0.5628 GB, free: 34.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3496, allocations: 2.031 kB / 0.5628 GB, free: 34.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.3497, allocations: 4.719 kB / 0.5628 GB, free: 34.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.3497, allocations: 0.875 kB / 0.5628 GB, free: 34.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.3497, allocations: 8.594 kB / 0.5628 GB, free: 34.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3497, allocations: 2.062 kB / 0.5628 GB, free: 34.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3497, allocations: 0.9688 kB / 0.5628 GB, free: 34.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.3498, allocations: 66.23 kB / 0.5628 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.3499, allocations: 83.17 kB / 0.5629 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.3499, allocations: 5.234 kB / 0.5629 GB, free: 33.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.142e-05/0.3499, allocations: 4.703 kB / 0.5629 GB, free: 33.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.3499, allocations: 4.594 kB / 0.5629 GB, free: 33.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.35, allocations: 1.562 kB / 0.5629 GB, free: 33.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.173e-05/0.35, allocations: 76.28 kB / 0.563 GB, free: 33.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.35, allocations: 0 / 0.563 GB, free: 33.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001727/0.3502, allocations: 1.281 kB / 0.563 GB, free: 33.82 MB / 446.1 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 8.727e-05/0.3502, allocations: 97.56 kB / 0.5631 GB, free: 33.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.3504, allocations: 14.16 kB / 0.5631 GB, free: 33.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3504, allocations: 0 / 0.5631 GB, free: 33.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.417e-05/0.3504, allocations: 8.344 kB / 0.5631 GB, free: 33.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.3506, allocations: 3.953 kB / 0.5631 GB, free: 33.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/0.3508, allocations: 113.3 kB / 0.5632 GB, free: 33.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.575e-05/0.3509, allocations: 0.6715 MB / 0.5639 GB, free: 32.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.3509, allocations: 10.09 kB / 0.5639 GB, free: 32.9 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3509, allocations: 0 / 0.5639 GB, free: 32.9 MB / 446.1 MB Notification: Performance of Templates: time 0.00149/0.3524, allocations: 391.6 kB / 0.5643 GB, free: 32.89 MB / 446.1 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)