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.0009913/0.0009914, allocations: 115.1 kB / 17.04 MB, free: 5.805 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.001015/0.001015, allocations: 195 kB / 17.98 MB, free: 5.031 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.475/1.475, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7213/0.7213, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 60.12 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3317, allocations: 76.15 MB / 0.5576 GB, free: 36.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001774/0.3335, allocations: 0.5674 MB / 0.5581 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002546/0.3338, allocations: 53.78 kB / 0.5582 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.51e-05/0.3338, allocations: 1.094 kB / 0.5582 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.3338, allocations: 0.5625 kB / 0.5582 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.638e-06/0.3338, allocations: 0 / 0.5582 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.3341, allocations: 14.48 kB / 0.5582 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.828e-05/0.3341, allocations: 5.734 kB / 0.5582 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.514e-05/0.3342, allocations: 5.469 kB / 0.5582 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.584e-05/0.3342, allocations: 5.5 kB / 0.5582 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.319e-05/0.3342, allocations: 5.094 kB / 0.5582 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.3343, allocations: 0 / 0.5582 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.3344, allocations: 21.66 kB / 0.5582 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.3344, allocations: 0.5 kB / 0.5582 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.3344, allocations: 2.562 kB / 0.5582 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.768e-05/0.3345, allocations: 18.94 kB / 0.5583 GB, free: 36.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3345, allocations: 0 / 0.5583 GB, free: 36.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3345, allocations: 1.344 kB / 0.5583 GB, free: 36.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.3345, allocations: 1.531 kB / 0.5583 GB, free: 36.55 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.0002429/0.3348, allocations: 314.4 kB / 0.5586 GB, free: 36.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3348, allocations: 9.5 kB / 0.5586 GB, free: 36.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.3351, allocations: 17.72 kB / 0.5586 GB, free: 36.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.521e-05/0.3352, allocations: 161.6 kB / 0.5587 GB, free: 36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3352, allocations: 3.438 kB / 0.5588 GB, free: 36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.3352, allocations: 384 / 0.5588 GB, free: 36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.3353, allocations: 38.7 kB / 0.5588 GB, free: 35.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3353, allocations: 2.406 kB / 0.5588 GB, free: 35.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3353, allocations: 9.531 kB / 0.5588 GB, free: 35.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3354, allocations: 0 / 0.5588 GB, free: 35.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.172e-05/0.3354, allocations: 10.02 kB / 0.5588 GB, free: 35.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001025/0.3356, allocations: 146.7 kB / 0.5589 GB, free: 35.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.3356, allocations: 20.91 kB / 0.559 GB, free: 35.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.3357, allocations: 11.56 kB / 0.559 GB, free: 35.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.3357, allocations: 1.5 kB / 0.559 GB, free: 35.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.3357, allocations: 39.5 kB / 0.559 GB, free: 35.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3357, allocations: 5.469 kB / 0.559 GB, free: 35.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002207/0.336, allocations: 49.34 kB / 0.5591 GB, free: 35.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.336, allocations: 53.19 kB / 0.5591 GB, free: 35.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.095e-05/0.336, allocations: 89.86 kB / 0.5592 GB, free: 35.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.336, allocations: 25.7 kB / 0.5592 GB, free: 35.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.524e-05/0.3361, allocations: 80.66 kB / 0.5593 GB, free: 35.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.3361, allocations: 2.062 kB / 0.5593 GB, free: 35.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.3361, allocations: 17.45 kB / 0.5593 GB, free: 35.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.16e-05/0.3362, allocations: 312.9 kB / 0.5596 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/0.3362, allocations: 4.406 kB / 0.5596 GB, free: 35.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.3363, allocations: 5.781 kB / 0.5596 GB, free: 35.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.854e-05/0.3364, allocations: 21.69 kB / 0.5597 GB, free: 35.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3364, allocations: 0 / 0.5597 GB, free: 35.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001102/0.3365, allocations: 42.39 kB / 0.5597 GB, free: 35.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3365, allocations: 5.75 kB / 0.5597 GB, free: 35.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3365, allocations: 0 / 0.5597 GB, free: 35.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3366, allocations: 10 kB / 0.5597 GB, free: 35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.1e-05/0.3366, allocations: 5.688 kB / 0.5597 GB, free: 35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3366, allocations: 0 / 0.5597 GB, free: 35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.3367, allocations: 3.203 kB / 0.5597 GB, free: 35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.3367, allocations: 0.5156 kB / 0.5597 GB, free: 35 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.706e-05/0.3367, allocations: 113.3 kB / 0.5598 GB, free: 34.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-06/0.3368, allocations: 2 kB / 0.5598 GB, free: 34.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.3368, allocations: 7.75 kB / 0.5598 GB, free: 34.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3368, allocations: 1.5 kB / 0.5598 GB, free: 34.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3368, allocations: 6.844 kB / 0.5598 GB, free: 34.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3368, allocations: 0 / 0.5598 GB, free: 34.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.481e-05/0.3369, allocations: 145.2 kB / 0.56 GB, free: 34.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3369, allocations: 4.797 kB / 0.56 GB, free: 34.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.313e-05/0.3369, allocations: 4.766 kB / 0.56 GB, free: 34.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.337, allocations: 1.562 kB / 0.56 GB, free: 34.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.337, allocations: 7.453 kB / 0.56 GB, free: 34.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.337, allocations: 0 / 0.56 GB, free: 34.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.337, allocations: 0.5156 kB / 0.56 GB, free: 34.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.3371, allocations: 66 kB / 0.5601 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.3371, allocations: 84.39 kB / 0.5601 GB, free: 34.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.3372, allocations: 8.578 kB / 0.5602 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.116e-05/0.3372, allocations: 5.672 kB / 0.5602 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.3372, allocations: 2.406 kB / 0.5602 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.3372, allocations: 0 / 0.5602 GB, free: 34.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.302e-05/0.3372, allocations: 76.06 kB / 0.5602 GB, free: 34.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3372, allocations: 1.781 kB / 0.5602 GB, free: 34.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001764/0.3374, allocations: 1.344 kB / 0.5602 GB, free: 34.43 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 9.34e-05/0.3375, allocations: 100.1 kB / 0.5603 GB, free: 34.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.3377, allocations: 17.02 kB / 0.5603 GB, free: 34.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3377, allocations: 2.25 kB / 0.5604 GB, free: 34.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.3377, allocations: 4.766 kB / 0.5604 GB, free: 34.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.3379, allocations: 6.125 kB / 0.5604 GB, free: 34.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.3381, allocations: 78.36 kB / 0.5604 GB, free: 34.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.3382, allocations: 0.674 MB / 0.5611 GB, free: 33.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.153e-05/0.3382, allocations: 4.266 kB / 0.5611 GB, free: 33.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.3383, allocations: 8.75 kB / 0.5611 GB, free: 33.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3383, allocations: 0 / 0.5611 GB, free: 33.55 MB / 446.1 MB Notification: Performance of Templates: time 0.001863/0.3401, allocations: 232.2 kB / 0.5613 GB, free: 33.5 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)