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.001611/0.001611, allocations: 115.5 kB / 17.09 MB, free: 6.012 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.001951/0.001952, allocations: 193.8 kB / 18.02 MB, free: 5.094 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.343/1.343, 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.7514/0.7514, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 64.48 kB / 0.5584 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1603, allocations: 76.17 MB / 0.6328 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001867/0.1623, allocations: 0.5749 MB / 0.6333 GB, free: 3.781 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003123/0.1626, allocations: 43.86 kB / 0.6334 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.16e-05/0.1626, allocations: 0 / 0.6334 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.1626, allocations: 0 / 0.6334 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.974e-06/0.1627, allocations: 0 / 0.6334 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.163, allocations: 15.92 kB / 0.6334 GB, free: 3.723 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.942e-05/0.163, allocations: 7.984 kB / 0.6334 GB, free: 3.715 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.1631, allocations: 4 kB / 0.6334 GB, free: 3.711 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.509e-05/0.1631, allocations: 0 / 0.6334 GB, free: 3.711 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.637e-05/0.1631, allocations: 3.984 kB / 0.6334 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.1631, allocations: 3.938 kB / 0.6334 GB, free: 3.703 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1633, allocations: 19.98 kB / 0.6334 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.1633, allocations: 0 / 0.6334 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.662e-05/0.1633, allocations: 0 / 0.6334 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.667e-05/0.1634, allocations: 23.97 kB / 0.6335 GB, free: 3.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1634, allocations: 4 kB / 0.6335 GB, free: 3.656 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1634, allocations: 0 / 0.6335 GB, free: 3.656 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.1634, allocations: 0 / 0.6335 GB, free: 3.656 MB / 478.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.0003329/0.1638, allocations: 311.6 kB / 0.6338 GB, free: 3.301 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1638, allocations: 8.031 kB / 0.6338 GB, free: 3.293 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.1641, allocations: 16.91 kB / 0.6338 GB, free: 3.277 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1642, allocations: 168.3 kB / 0.6339 GB, free: 3.074 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1643, allocations: 384 / 0.6339 GB, free: 3.074 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.1643, allocations: 4.375 kB / 0.6339 GB, free: 3.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.1644, allocations: 42.23 kB / 0.634 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1644, allocations: 192 / 0.634 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1645, allocations: 3.938 kB / 0.634 GB, free: 3.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1645, allocations: 0 / 0.634 GB, free: 3.02 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.146e-05/0.1646, allocations: 11.98 kB / 0.634 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.1647, allocations: 141.7 kB / 0.6341 GB, free: 2.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.346e-05/0.1648, allocations: 34.81 kB / 0.6342 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.1649, allocations: 8.922 kB / 0.6342 GB, free: 2.766 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.1649, allocations: 4 kB / 0.6342 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.1649, allocations: 30.56 kB / 0.6342 GB, free: 2.723 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.165, allocations: 0 / 0.6342 GB, free: 2.723 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002541/0.1652, allocations: 53.7 kB / 0.6343 GB, free: 2.664 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.1653, allocations: 55.34 kB / 0.6343 GB, free: 2.598 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.125e-05/0.1653, allocations: 93.8 kB / 0.6344 GB, free: 2.496 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1653, allocations: 25.7 kB / 0.6344 GB, free: 2.465 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.1654, allocations: 80.14 kB / 0.6345 GB, free: 2.383 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.1654, allocations: 0 / 0.6345 GB, free: 2.383 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.1655, allocations: 21.7 kB / 0.6345 GB, free: 2.355 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1656, allocations: 314.8 kB / 0.6348 GB, free: 2.039 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.694e-05/0.1657, allocations: 8.031 kB / 0.6348 GB, free: 2.031 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.191e-05/0.1657, allocations: 11.98 kB / 0.6348 GB, free: 2.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.227e-05/0.1658, allocations: 12.84 kB / 0.6349 GB, free: 2.004 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1658, allocations: 0 / 0.6349 GB, free: 2.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001286/0.1659, allocations: 41.69 kB / 0.6349 GB, free: 1.957 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.166, allocations: 4.094 kB / 0.6349 GB, free: 1.953 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.166, allocations: 4 kB / 0.6349 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.166, allocations: 3.938 kB / 0.6349 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.1661, allocations: 7.938 kB / 0.6349 GB, free: 1.938 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1661, allocations: 0 / 0.6349 GB, free: 1.938 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.899e-05/0.1661, allocations: 7.891 kB / 0.6349 GB, free: 1.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1662, allocations: 8 kB / 0.6349 GB, free: 1.922 MB / 478.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 8.632e-05/0.1662, allocations: 105.8 kB / 0.635 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.1663, allocations: 0 / 0.635 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.1663, allocations: 11.06 kB / 0.635 GB, free: 1.797 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1663, allocations: 0 / 0.635 GB, free: 1.797 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1663, allocations: 0 / 0.635 GB, free: 1.797 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1663, allocations: 4 kB / 0.635 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.1665, allocations: 145.7 kB / 0.6352 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1665, allocations: 0 / 0.6352 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.1665, allocations: 4 kB / 0.6352 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1665, allocations: 3.984 kB / 0.6352 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1666, allocations: 7.922 kB / 0.6352 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1666, allocations: 0 / 0.6352 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1666, allocations: 4 kB / 0.6352 GB, free: 1.582 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.1667, allocations: 69.06 kB / 0.6353 GB, free: 1.496 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.1668, allocations: 81.05 kB / 0.6353 GB, free: 1.398 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.1668, allocations: 3.938 kB / 0.6353 GB, free: 1.395 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.413e-05/0.1668, allocations: 3.984 kB / 0.6353 GB, free: 1.391 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.1669, allocations: 11.88 kB / 0.6354 GB, free: 1.379 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1669, allocations: 4.031 kB / 0.6354 GB, free: 1.375 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.112e-05/0.1669, allocations: 75.28 kB / 0.6354 GB, free: 1.301 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1669, allocations: 0 / 0.6354 GB, free: 1.301 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001779/0.1671, allocations: 0 / 0.6354 GB, free: 1.301 MB / 478.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 0.0001271/0.1672, allocations: 95.25 kB / 0.6355 GB, free: 1.195 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001617/0.1674, allocations: 15.98 kB / 0.6355 GB, free: 1.18 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1674, allocations: 4.062 kB / 0.6355 GB, free: 1.176 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.523e-05/0.1675, allocations: 7.984 kB / 0.6356 GB, free: 1.168 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.1676, allocations: 5.719 kB / 0.6356 GB, free: 1.164 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.1679, allocations: 122.6 kB / 0.6357 GB, free: 1.012 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.1683, allocations: 0.669 MB / 0.6363 GB, free: 324 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.1683, allocations: 7.438 kB / 0.6363 GB, free: 316 kB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1683, allocations: 0 / 0.6363 GB, free: 316 kB / 478.1 MB Notification: Performance of Templates: time 0.001796/0.1701, allocations: 389.9 kB / 0.6367 GB, free: 15.93 MB / 494.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)