Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009362/0.0009363, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 186.3 kB / 16.92 MB, free: 6.891 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.476/1.476, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7108/0.7108, allocations: 115.5 MB / 407.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003817, allocations: 14.28 kB / 495.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1704, allocations: 77.54 MB / 0.5599 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.00151/0.172, allocations: 1.147 MB / 0.5611 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007274/0.1728, allocations: 455.9 kB / 0.5615 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.83e-05/0.1728, allocations: 0 / 0.5615 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.1728, allocations: 3.984 kB / 0.5615 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.647e-05/0.1729, allocations: 7.922 kB / 0.5615 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.173, allocations: 19.98 kB / 0.5615 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.655e-05/0.1731, allocations: 27.88 kB / 0.5616 GB, free: 7.344 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.158e-05/0.1732, allocations: 7.984 kB / 0.5616 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.879e-05/0.1732, allocations: 7.938 kB / 0.5616 GB, free: 7.328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.1733, allocations: 15.92 kB / 0.5616 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.1733, allocations: 0 / 0.5616 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.826e-05/0.1733, allocations: 19.97 kB / 0.5616 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.1734, allocations: 4 kB / 0.5616 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.1734, allocations: 33.64 kB / 0.5616 GB, free: 7.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.76e-05/0.1735, allocations: 27.89 kB / 0.5617 GB, free: 7.223 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1735, allocations: 0 / 0.5617 GB, free: 7.223 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1735, allocations: 8 kB / 0.5617 GB, free: 7.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.1735, allocations: 0 / 0.5617 GB, free: 7.215 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003819/0.1739, allocations: 345.6 kB / 0.562 GB, free: 6.832 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1739, allocations: 8.031 kB / 0.562 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.271e-05/0.174, allocations: 4.938 kB / 0.562 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.1741, allocations: 168.3 kB / 0.5622 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1741, allocations: 384 / 0.5622 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.1741, allocations: 8.375 kB / 0.5622 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1743, allocations: 54 kB / 0.5622 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1743, allocations: 3.984 kB / 0.5622 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1743, allocations: 0 / 0.5622 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1743, allocations: 0 / 0.5622 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.1745, allocations: 43.97 kB / 0.5623 GB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.1748, allocations: 260.8 kB / 0.5625 GB, free: 6.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.1749, allocations: 50.5 kB / 0.5626 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.066e-05/0.175, allocations: 20.91 kB / 0.5626 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.1752, allocations: 85.09 kB / 0.5627 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1752, allocations: 34.5 kB / 0.5627 GB, free: 5.973 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.1752, allocations: 4 kB / 0.5627 GB, free: 5.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003577/0.1756, allocations: 97.64 kB / 0.5628 GB, free: 5.867 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1756, allocations: 55.34 kB / 0.5629 GB, free: 5.801 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.345e-05/0.1757, allocations: 106 kB / 0.563 GB, free: 5.688 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1757, allocations: 29.7 kB / 0.563 GB, free: 5.652 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.1758, allocations: 84.14 kB / 0.5631 GB, free: 5.566 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.1758, allocations: 7.844 kB / 0.5631 GB, free: 5.559 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.1758, allocations: 13.72 kB / 0.5631 GB, free: 5.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1759, allocations: 310.8 kB / 0.5634 GB, free: 5.227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.306e-05/0.176, allocations: 19.98 kB / 0.5634 GB, free: 5.207 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.418e-05/0.1761, allocations: 31.97 kB / 0.5634 GB, free: 5.176 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.1763, allocations: 48.77 kB / 0.5635 GB, free: 5.125 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1763, allocations: 4.062 kB / 0.5635 GB, free: 5.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000219/0.1766, allocations: 81.59 kB / 0.5636 GB, free: 5.035 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1766, allocations: 4 kB / 0.5636 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1766, allocations: 0 / 0.5636 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1766, allocations: 0 / 0.5636 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.1767, allocations: 16.02 kB / 0.5636 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.1767, allocations: 0 / 0.5636 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.1768, allocations: 11.94 kB / 0.5636 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1768, allocations: 0 / 0.5636 GB, free: 5.004 MB / 430.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 (2): * Single equations (assignments): 2 * 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 7.384e-05/0.1769, allocations: 117.8 kB / 0.5637 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.1769, allocations: 7.906 kB / 0.5637 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.1771, allocations: 80.78 kB / 0.5638 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1772, allocations: 0 / 0.5638 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1772, allocations: 0 / 0.5638 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1772, allocations: 0 / 0.5638 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.1773, allocations: 161.6 kB / 0.564 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1773, allocations: 4.281 kB / 0.564 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.1774, allocations: 23.94 kB / 0.564 GB, free: 4.555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1774, allocations: 3.984 kB / 0.564 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.1774, allocations: 0 / 0.564 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1774, allocations: 0 / 0.564 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1775, allocations: 3.984 kB / 0.564 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.1777, allocations: 171.5 kB / 0.5642 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.1778, allocations: 81.09 kB / 0.5642 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.1778, allocations: 0 / 0.5642 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.978e-05/0.1779, allocations: 12 kB / 0.5642 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.1779, allocations: 3.984 kB / 0.5642 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1779, allocations: 4.031 kB / 0.5642 GB, free: 4.246 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.89e-05/0.178, allocations: 79.28 kB / 0.5643 GB, free: 4.168 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.854e-06/0.178, allocations: 3.938 kB / 0.5643 GB, free: 4.164 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.1782, allocations: 15.94 kB / 0.5643 GB, free: 4.148 MB / 430.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 (2): * Single equations (assignments): 2 * 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.000158/0.1784, allocations: 107.2 kB / 0.5644 GB, free: 4.031 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.1786, allocations: 47.97 kB / 0.5645 GB, free: 3.984 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1786, allocations: 0 / 0.5645 GB, free: 3.984 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.1787, allocations: 19.98 kB / 0.5645 GB, free: 3.965 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.179, allocations: 15.92 kB / 0.5645 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.1793, allocations: 112.8 kB / 0.5646 GB, free: 3.816 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1795, allocations: 0.677 MB / 0.5653 GB, free: 3.113 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.323e-05/0.1796, allocations: 0 / 0.5653 GB, free: 3.113 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.1796, allocations: 11.44 kB / 0.5653 GB, free: 3.102 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1796, allocations: 0 / 0.5653 GB, free: 3.102 MB / 430.1 MB Notification: Performance of Templates: time 0.002456/0.182, allocations: 488 kB / 0.5658 GB, free: 2.629 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)