Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.007061/0.007061, allocations: 100.7 kB / 15.73 MB, free: 6.477 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.00166/0.00166, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 278 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9362/0.9362, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 99.84 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1632, allocations: 86.97 MB / 0.7664 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001475/0.1647, allocations: 0.5745 MB / 0.767 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000236/0.165, allocations: 59.72 kB / 0.7671 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.518e-05/0.165, allocations: 0 / 0.7671 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.029e-05/0.165, allocations: 0 / 0.7671 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.165, allocations: 0 / 0.7671 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.1652, allocations: 15.92 kB / 0.7671 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.883e-05/0.1653, allocations: 4 kB / 0.7671 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.1653, allocations: 3.938 kB / 0.7671 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.113e-05/0.1653, allocations: 0 / 0.7671 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.884e-05/0.1653, allocations: 4 kB / 0.7671 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.1654, allocations: 4 kB / 0.7671 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.1655, allocations: 19.98 kB / 0.7671 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.1655, allocations: 3.984 kB / 0.7671 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.422e-05/0.1655, allocations: 0 / 0.7671 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 7.316e-05/0.1656, allocations: 19.97 kB / 0.7671 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1656, allocations: 0 / 0.7671 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1656, allocations: 0 / 0.7671 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.1656, allocations: 0 / 0.7671 GB, free: 7.684 MB / 0.5606 GB 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.0002393/0.1658, allocations: 311.6 kB / 0.7674 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.1659, allocations: 12.03 kB / 0.7674 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002336/0.1661, allocations: 24.89 kB / 0.7675 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.023e-05/0.1662, allocations: 160.4 kB / 0.7676 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1662, allocations: 384 / 0.7676 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-06/0.1662, allocations: 4.359 kB / 0.7676 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1664, allocations: 34.25 kB / 0.7676 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.1664, allocations: 192 / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1664, allocations: 3.938 kB / 0.7677 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1664, allocations: 4 kB / 0.7677 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.475e-05/0.1665, allocations: 19.86 kB / 0.7677 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.1666, allocations: 145.7 kB / 0.7678 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.979e-05/0.1667, allocations: 22.59 kB / 0.7678 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/0.1668, allocations: 12.91 kB / 0.7678 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1668, allocations: 4 kB / 0.7679 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.1668, allocations: 30.56 kB / 0.7679 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.1668, allocations: 0 / 0.7679 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002214/0.1671, allocations: 53.56 kB / 0.7679 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.1671, allocations: 51.41 kB / 0.768 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.824e-05/0.1671, allocations: 93.84 kB / 0.7681 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.1672, allocations: 25.7 kB / 0.7681 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.108e-05/0.1672, allocations: 88.27 kB / 0.7682 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.1672, allocations: 7.844 kB / 0.7682 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.1672, allocations: 9.719 kB / 0.7682 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.1673, allocations: 310.8 kB / 0.7685 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.784e-05/0.1674, allocations: 11.92 kB / 0.7685 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.1674, allocations: 8 kB / 0.7685 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.949e-05/0.1675, allocations: 20.91 kB / 0.7685 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1675, allocations: 3.938 kB / 0.7685 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001175/0.1677, allocations: 37.69 kB / 0.7686 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1677, allocations: 6.344 kB / 0.7686 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1677, allocations: 0 / 0.7686 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1677, allocations: 7.938 kB / 0.7686 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/0.1678, allocations: 7.984 kB / 0.7686 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1678, allocations: 0 / 0.7686 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.1678, allocations: 8.031 kB / 0.7686 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.1678, allocations: 0 / 0.7686 GB, free: 5.949 MB / 0.5606 GB 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 6.497e-05/0.1679, allocations: 106.5 kB / 0.7687 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-06/0.1679, allocations: 0 / 0.7687 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.168, allocations: 19.05 kB / 0.7687 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.168, allocations: 0 / 0.7687 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.168, allocations: 0 / 0.7687 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.168, allocations: 0 / 0.7687 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.057e-05/0.1681, allocations: 145.7 kB / 0.7689 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1681, allocations: 0 / 0.7689 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.1681, allocations: 7.984 kB / 0.7689 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1681, allocations: 3.938 kB / 0.7689 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1681, allocations: 3.938 kB / 0.7689 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1682, allocations: 3.938 kB / 0.7689 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1682, allocations: 0 / 0.7689 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.1683, allocations: 69.12 kB / 0.7689 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.1683, allocations: 81.09 kB / 0.769 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.1684, allocations: 3.938 kB / 0.769 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.245e-05/0.1684, allocations: 4 kB / 0.769 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.787e-06/0.1684, allocations: 0 / 0.769 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.1684, allocations: 0 / 0.769 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.182e-05/0.1684, allocations: 75.28 kB / 0.7691 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1684, allocations: 0 / 0.7691 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001737/0.1686, allocations: 0 / 0.7691 GB, free: 5.344 MB / 0.5606 GB 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.244e-05/0.1687, allocations: 103.3 kB / 0.7692 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.1689, allocations: 19.91 kB / 0.7692 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1689, allocations: 0 / 0.7692 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.279e-05/0.1689, allocations: 4 kB / 0.7692 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.169, allocations: 0 / 0.7692 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.1693, allocations: 89.19 kB / 0.7693 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.1695, allocations: 0.6729 MB / 0.77 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.01e-05/0.1695, allocations: 11.91 kB / 0.77 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.1696, allocations: 7.438 kB / 0.77 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1696, allocations: 0 / 0.77 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of Templates: time 0.00177/0.1713, allocations: 224.7 kB / 0.7702 GB, free: 4.156 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)