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.001286/0.001286, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001057/0.001057, allocations: 165 kB / 23.8 MB, free: 0.7695 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 0.9994/0.9994, allocations: 177.1 MB / 204.2 MB, free: 5.09 MB / 186.7 MB " [Timeout remaining time 179] 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.6422/0.6422, allocations: 114.9 MB / 375.7 MB, free: 7.547 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 1.212e-06/1.212e-06, allocations: 0.9844 kB / 481.6 MB, free: 11.83 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.572e-05, allocations: 3.781 kB / 481.6 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001002/0.001018, allocations: 0.6138 MB / 482.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.002064, allocations: 1.169 MB / 483.3 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.002094, allocations: 0.625 kB / 483.3 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.002113, allocations: 0 / 483.3 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.002337, allocations: 15.92 kB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.326e-06/0.00234, allocations: 0.7812 kB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.782e-05/0.002378, allocations: 7.781 kB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.002414, allocations: 4.188 kB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.216e-05/0.002437, allocations: 3.938 kB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.187e-05/0.002458, allocations: 8.531 kB / 483.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.267e-06/0.002468, allocations: 0 / 483.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.615e-05/0.002564, allocations: 15.2 kB / 483.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.002573, allocations: 0 / 483.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.144e-05/0.002584, allocations: 5.594 kB / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.538e-05/0.00266, allocations: 15.64 kB / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.002661, allocations: 0.6562 kB / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002662, allocations: 1.531 kB / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.002667, allocations: 2.25 kB / 483.4 MB, free: 10.62 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.0001814/0.002848, allocations: 341.2 kB / 483.8 MB, free: 10.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.002885, allocations: 9.594 kB / 483.8 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.003099, allocations: 15.06 kB / 483.8 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.09e-05/0.00314, allocations: 116.1 kB / 483.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.00315, allocations: 384 / 483.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.003173, allocations: 5.172 kB / 483.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.494e-05/0.003248, allocations: 35.39 kB / 483.9 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.003256, allocations: 1.312 kB / 483.9 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.003265, allocations: 384 / 483.9 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.003273, allocations: 11.95 kB / 483.9 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.952e-05/0.003302, allocations: 9.75 kB / 484 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.59e-05/0.003398, allocations: 111.7 kB / 484.1 MB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.003555, allocations: 41.19 kB / 484.1 MB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.003571, allocations: 14.77 kB / 484.1 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.00359, allocations: 0.6875 kB / 484.1 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.003604, allocations: 35.73 kB / 484.2 MB, free: 9.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.003605, allocations: 1.281 kB / 484.2 MB, free: 9.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009326/0.004538, allocations: 253.6 kB / 484.4 MB, free: 9.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.004557, allocations: 52.81 kB / 484.5 MB, free: 9.707 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.004673, allocations: 142.2 kB / 484.6 MB, free: 25.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.004683, allocations: 27.05 kB / 484.6 MB, free: 25.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.234e-05/0.004706, allocations: 132 kB / 484.8 MB, free: 25.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.004738, allocations: 26.25 kB / 484.8 MB, free: 25.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.004776, allocations: 23.28 kB / 484.8 MB, free: 25.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.00487, allocations: 498.2 kB / 485.3 MB, free: 24.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.135e-05/0.004911, allocations: 7.625 kB / 485.3 MB, free: 24.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-05/0.004958, allocations: 36.81 kB / 485.3 MB, free: 24.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.536e-05/0.005043, allocations: 49.45 kB / 485.4 MB, free: 24.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.005044, allocations: 0.75 kB / 485.4 MB, free: 24.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001255/0.00517, allocations: 62.31 kB / 485.4 MB, free: 24.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.005183, allocations: 6.875 kB / 485.4 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.005187, allocations: 1.062 kB / 485.4 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.005202, allocations: 1.125 kB / 485.4 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.005341, allocations: 41.22 kB / 485.5 MB, free: 24.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.005348, allocations: 2.75 kB / 485.5 MB, free: 24.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.7e-05/0.005445, allocations: 22.5 kB / 485.5 MB, free: 24.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.005455, allocations: 2.25 kB / 485.5 MB, free: 24.72 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 6.569e-05/0.005521, allocations: 159.1 kB / 485.7 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.005535, allocations: 1.344 kB / 485.7 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.005573, allocations: 13.03 kB / 485.7 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.005576, allocations: 5.406 kB / 485.7 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.00558, allocations: 3.938 kB / 485.7 MB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005583, allocations: 0 / 485.7 MB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.005877, allocations: 298.5 kB / 486 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.005879, allocations: 4.547 kB / 486 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.005996, allocations: 28.34 kB / 486 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005998, allocations: 5.156 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.006009, allocations: 1.344 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.00601, allocations: 0.8125 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006011, allocations: 0.6875 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.006161, allocations: 217.8 kB / 486.2 MB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-06/0.006166, allocations: 2.188 kB / 486.2 MB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.00618, allocations: 7.938 kB / 486.2 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.006283, allocations: 22.31 kB / 486.3 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.006296, allocations: 2.125 kB / 486.3 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.006304, allocations: 6.219 kB / 486.3 MB, free: 24.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.054e-05/0.006335, allocations: 120.8 kB / 486.4 MB, free: 23.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006335, allocations: 3.938 kB / 486.4 MB, free: 23.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001579/0.006493, allocations: 7.938 kB / 486.4 MB, free: 23.91 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 6.669e-05/0.006559, allocations: 101.6 kB / 486.5 MB, free: 23.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.006687, allocations: 29.89 kB / 486.5 MB, free: 23.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006688, allocations: 0.5625 kB / 486.5 MB, free: 23.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.412e-05/0.006733, allocations: 26.11 kB / 486.6 MB, free: 23.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.00688, allocations: 7 kB / 486.6 MB, free: 23.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.007175, allocations: 130.4 kB / 486.7 MB, free: 23.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.735e-05/0.007203, allocations: 57.27 kB / 486.8 MB, free: 23.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.007309, allocations: 27.34 kB / 486.8 MB, free: 23.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.007371, allocations: 20.8 kB / 486.8 MB, free: 23.59 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007372, allocations: 0 / 486.8 MB, free: 23.59 MB / 426.7 MB Notification: Performance of Templates: time 0.002063/0.009435, allocations: 0.8252 MB / 487.6 MB, free: 23.54 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6460527419112623]