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.007293/0.007293, allocations: 99.42 kB / 15.73 MB, free: 6.039 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.001561/0.001561, allocations: 202 kB / 16.68 MB, free: 5.965 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 274.6 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.9595/0.9595, allocations: 169.2 MB / 0.4983 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 95.86 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1666, allocations: 86.96 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001492/0.1681, allocations: 0.5912 MB / 0.767 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000278/0.1684, allocations: 51.86 kB / 0.767 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.45e-05/0.1684, allocations: 0 / 0.767 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.1685, allocations: 0 / 0.767 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.1685, allocations: 0 / 0.767 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.1687, allocations: 23.91 kB / 0.7671 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.448e-05/0.1687, allocations: 0 / 0.7671 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.1688, allocations: 3.984 kB / 0.7671 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.359e-05/0.1688, allocations: 7.938 kB / 0.7671 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.921e-05/0.1688, allocations: 4 kB / 0.7671 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.1688, allocations: 0 / 0.7671 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.709e-05/0.1689, allocations: 15.98 kB / 0.7671 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.169, allocations: 3.938 kB / 0.7671 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.598e-05/0.169, allocations: 4 kB / 0.7671 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.686e-05/0.1691, allocations: 19.95 kB / 0.7671 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1691, allocations: 0 / 0.7671 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1691, allocations: 0 / 0.7671 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1691, allocations: 0 / 0.7671 GB, free: 7.703 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.0003184/0.1694, allocations: 315.5 kB / 0.7674 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1695, allocations: 12.03 kB / 0.7674 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002398/0.1697, allocations: 20.91 kB / 0.7675 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.1698, allocations: 168.3 kB / 0.7676 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.1699, allocations: 384 / 0.7676 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.1699, allocations: 384 / 0.7676 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.17, allocations: 34.25 kB / 0.7676 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.17, allocations: 4.188 kB / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.17, allocations: 3.938 kB / 0.7677 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.17, allocations: 4 kB / 0.7677 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.1701, allocations: 7.984 kB / 0.7677 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.1703, allocations: 145.7 kB / 0.7678 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.202e-05/0.1703, allocations: 30.47 kB / 0.7678 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/0.1704, allocations: 12.92 kB / 0.7678 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.1704, allocations: 0 / 0.7678 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.1705, allocations: 30.56 kB / 0.7679 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1705, allocations: 4 kB / 0.7679 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002217/0.1707, allocations: 45.61 kB / 0.7679 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.1707, allocations: 51.41 kB / 0.768 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.756e-05/0.1708, allocations: 102 kB / 0.7681 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1708, allocations: 25.7 kB / 0.7681 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.1709, allocations: 84.08 kB / 0.7682 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.1709, allocations: 3.953 kB / 0.7682 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.171, allocations: 13.7 kB / 0.7682 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1711, allocations: 314.8 kB / 0.7685 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/0.1711, allocations: 0 / 0.7685 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.171e-05/0.1712, allocations: 11.98 kB / 0.7685 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.841e-05/0.1713, allocations: 20.84 kB / 0.7685 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1713, allocations: 0 / 0.7685 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000111/0.1714, allocations: 37.69 kB / 0.7686 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1714, allocations: 4 kB / 0.7686 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.1714, allocations: 4 kB / 0.7686 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1714, allocations: 3.938 kB / 0.7686 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.1715, allocations: 12.02 kB / 0.7686 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.1715, allocations: 4 kB / 0.7686 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/0.1716, allocations: 0 / 0.7686 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.1716, allocations: 3.938 kB / 0.7686 GB, free: 5.973 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 5.99e-05/0.1716, allocations: 106.5 kB / 0.7687 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.1717, allocations: 4 kB / 0.7687 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.1717, allocations: 7.062 kB / 0.7687 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1717, allocations: 0 / 0.7687 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1717, allocations: 4 kB / 0.7687 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1717, allocations: 3.984 kB / 0.7687 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.256e-05/0.1718, allocations: 145.7 kB / 0.7688 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1718, allocations: 0 / 0.7688 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.1719, allocations: 7.984 kB / 0.7689 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1719, allocations: 0 / 0.7689 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1719, allocations: 7.938 kB / 0.7689 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1719, allocations: 3.938 kB / 0.7689 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1719, allocations: 4 kB / 0.7689 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.172, allocations: 61.12 kB / 0.7689 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.1721, allocations: 81.05 kB / 0.769 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.1721, allocations: 7.922 kB / 0.769 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.174e-05/0.1721, allocations: 8 kB / 0.769 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.1722, allocations: 3.984 kB / 0.769 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1722, allocations: 0 / 0.769 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.1722, allocations: 75.28 kB / 0.7691 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1722, allocations: 4.031 kB / 0.7691 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000173/0.1724, allocations: 4 kB / 0.7691 GB, free: 5.352 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 0.0001177/0.1725, allocations: 95.25 kB / 0.7692 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.1726, allocations: 11.98 kB / 0.7692 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1726, allocations: 0 / 0.7692 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.242e-05/0.1727, allocations: 7.984 kB / 0.7692 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.1728, allocations: 8.062 kB / 0.7692 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002077/0.173, allocations: 92.98 kB / 0.7693 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1733, allocations: 0.6728 MB / 0.77 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.88e-05/0.1734, allocations: 0 / 0.77 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.1734, allocations: 11.44 kB / 0.77 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.1734, allocations: 4 kB / 0.77 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of Templates: time 0.001812/0.1752, allocations: 227 kB / 0.7702 GB, free: 4.168 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)