Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 92.72 kB / 20.21 MB, free: 4.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 157.6 kB / 23.52 MB, free: 0.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 177.2 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9937/0.9937, allocations: 115 MB / 375.3 MB, free: 7.574 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 7.625 kB / 480.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.113e-05, allocations: 5.312 kB / 480.8 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001535/0.001566, allocations: 0.5946 MB / 481.4 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.002961, allocations: 1.136 MB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.002996, allocations: 0 / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.00301, allocations: 0 / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.003285, allocations: 14.05 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.767e-06/0.003289, allocations: 2.688 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.416e-05/0.003333, allocations: 7 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.00338, allocations: 0 / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.804e-05/0.003408, allocations: 3.5 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.949e-05/0.003437, allocations: 0 / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.003449, allocations: 3.984 kB / 482.6 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.00357, allocations: 20.69 kB / 482.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.003581, allocations: 4.75 kB / 482.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.904e-05/0.003601, allocations: 0 / 482.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.872e-05/0.003689, allocations: 19.33 kB / 482.6 MB, free: 10.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.003691, allocations: 0 / 482.6 MB, free: 10.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003692, allocations: 0 / 482.6 MB, free: 10.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.003696, allocations: 0.5312 kB / 482.6 MB, free: 10.65 MB / 410.7 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.0002669/0.003963, allocations: 240 kB / 482.9 MB, free: 10.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.004007, allocations: 9.875 kB / 482.9 MB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003019/0.004309, allocations: 17.62 kB / 482.9 MB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.601e-05/0.004365, allocations: 105.8 kB / 483 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.004379, allocations: 4.656 kB / 483 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.004404, allocations: 4.328 kB / 483 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.439e-05/0.004498, allocations: 40.58 kB / 483.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.00451, allocations: 2.031 kB / 483.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.004522, allocations: 5.438 kB / 483.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.004528, allocations: 3.938 kB / 483.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.484e-05/0.004563, allocations: 3.938 kB / 483.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.004671, allocations: 101.5 kB / 483.2 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.004845, allocations: 39.12 kB / 483.2 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.469e-05/0.00487, allocations: 11.08 kB / 483.2 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.004892, allocations: 1.781 kB / 483.2 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.004908, allocations: 37.78 kB / 483.3 MB, free: 10.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.004909, allocations: 1.188 kB / 483.3 MB, free: 10.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.003737/0.008645, allocations: 0.5379 MB / 483.8 MB, free: 9.965 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.008672, allocations: 54.19 kB / 483.9 MB, free: 9.902 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.879e-05/0.008691, allocations: 91.05 kB / 483.9 MB, free: 9.805 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.008707, allocations: 25.7 kB / 484 MB, free: 9.773 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.461e-05/0.008721, allocations: 87.59 kB / 484.1 MB, free: 9.688 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.008763, allocations: 22.61 kB / 484.1 MB, free: 9.668 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.008816, allocations: 19.78 kB / 484.1 MB, free: 9.652 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002786/0.009094, allocations: 315.9 kB / 484.4 MB, free: 25.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005568/0.009651, allocations: 82.36 kB / 484.5 MB, free: 25.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.01021, allocations: 105.4 kB / 484.6 MB, free: 25.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.01132, allocations: 189.8 kB / 484.8 MB, free: 25.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01133, allocations: 5.094 kB / 484.8 MB, free: 25.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001205/0.01253, allocations: 216 kB / 485 MB, free: 25.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.01255, allocations: 5.906 kB / 485 MB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01255, allocations: 1.125 kB / 485 MB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.01258, allocations: 1.156 kB / 485 MB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.01299, allocations: 55.39 kB / 485 MB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.013, allocations: 1.875 kB / 485.1 MB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.01333, allocations: 41.3 kB / 485.1 MB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.01335, allocations: 7.938 kB / 485.1 MB, free: 25.22 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 0.0001061/0.01345, allocations: 111.3 kB / 485.2 MB, free: 25.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.01348, allocations: 3.219 kB / 485.2 MB, free: 25.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.227e-05/0.01354, allocations: 13.17 kB / 485.2 MB, free: 25.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01355, allocations: 0 / 485.2 MB, free: 25.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.01355, allocations: 12.27 kB / 485.2 MB, free: 25.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01356, allocations: 3.984 kB / 485.2 MB, free: 25.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.01499, allocations: 392.9 kB / 485.6 MB, free: 24.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01499, allocations: 0.5625 kB / 485.6 MB, free: 24.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.01535, allocations: 48.36 kB / 485.7 MB, free: 24.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.01535, allocations: 5.25 kB / 485.7 MB, free: 24.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.01537, allocations: 5.156 kB / 485.7 MB, free: 24.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01537, allocations: 4.562 kB / 485.7 MB, free: 24.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01537, allocations: 1.469 kB / 485.7 MB, free: 24.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.01657, allocations: 310 kB / 486 MB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.01658, allocations: 1.5 kB / 486 MB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.0166, allocations: 5.281 kB / 486 MB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.01697, allocations: 41.45 kB / 486 MB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.01699, allocations: 1.281 kB / 486 MB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.017, allocations: 8.609 kB / 486 MB, free: 24.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.779e-05/0.01705, allocations: 80.16 kB / 486.1 MB, free: 24.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01705, allocations: 0 / 486.1 MB, free: 24.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002403/0.01729, allocations: 7.469 kB / 486.1 MB, free: 24.6 MB / 426.7 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 (5): * Single equations (assignments): 5 * 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.0174, allocations: 98.53 kB / 486.2 MB, free: 24.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.01857, allocations: 179.7 kB / 486.4 MB, free: 24.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01858, allocations: 1.062 kB / 486.4 MB, free: 24.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005621/0.01914, allocations: 96.56 kB / 486.5 MB, free: 24.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.01938, allocations: 10.77 kB / 486.5 MB, free: 24.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.02048, allocations: 216.4 kB / 486.7 MB, free: 24.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.915e-05/0.02052, allocations: 63.91 kB / 486.8 MB, free: 24.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001808/0.0207, allocations: 32.75 kB / 486.8 MB, free: 24.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.442e-05/0.02079, allocations: 18.83 kB / 486.8 MB, free: 24.25 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.02079, allocations: 0 / 486.8 MB, free: 24.25 MB / 426.7 MB Notification: Performance of Templates: time 0.002973/0.02377, allocations: 0.8015 MB / 487.6 MB, free: 24.17 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.517054329975508]