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.002009/0.002009, allocations: 93.47 kB / 20.21 MB, free: 4.207 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.002179/0.002179, allocations: 169.2 kB / 23.53 MB, free: 0.8867 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.657/1.657, allocations: 177.1 MB / 203.9 MB, free: 5.594 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 1.105/1.105, allocations: 115 MB / 375.3 MB, free: 7.59 MB / 346.7 MB " [Timeout remaining time 178] 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.354e-06/2.354e-06, allocations: 0 / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.283e-05/4.518e-05, allocations: 4.844 kB / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001809/0.001854, allocations: 0.6002 MB / 481.4 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.003276, allocations: 1.154 MB / 482.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.003311, allocations: 0 / 482.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.003325, allocations: 1.688 kB / 482.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.003574, allocations: 13.62 kB / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.198e-06/0.003578, allocations: 1.375 kB / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.449e-05/0.003622, allocations: 6.188 kB / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.003666, allocations: 0.5 kB / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.312e-05/0.003699, allocations: 7.344 kB / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.698e-05/0.003726, allocations: 0 / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.003737, allocations: 0 / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.003843, allocations: 20.5 kB / 482.6 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.298e-06/0.003852, allocations: 0 / 482.6 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.17e-05/0.003864, allocations: 1.656 kB / 482.6 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.542e-05/0.00395, allocations: 17.28 kB / 482.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003952, allocations: 0.6562 kB / 482.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.003953, allocations: 3.188 kB / 482.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.003958, allocations: 4.625 kB / 482.7 MB, free: 10.69 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.0002587/0.004217, allocations: 343.1 kB / 483 MB, free: 10.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.004255, allocations: 10.66 kB / 483 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.004544, allocations: 16.86 kB / 483 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.879e-05/0.004603, allocations: 109.6 kB / 483.1 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.004617, allocations: 1.531 kB / 483.1 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.004635, allocations: 9.641 kB / 483.1 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.792e-05/0.004733, allocations: 41.66 kB / 483.2 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.004746, allocations: 192 / 483.2 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.004756, allocations: 384 / 483.2 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.004762, allocations: 4.625 kB / 483.2 MB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.623e-05/0.004808, allocations: 3.594 kB / 483.2 MB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.004948, allocations: 122.4 kB / 483.3 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.005162, allocations: 41.72 kB / 483.4 MB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.005189, allocations: 9.906 kB / 483.4 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.005208, allocations: 0.9688 kB / 483.4 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.005225, allocations: 38.17 kB / 483.4 MB, free: 9.914 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.005225, allocations: 0 / 483.4 MB, free: 9.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.002453/0.007678, allocations: 325.5 kB / 483.7 MB, free: 9.863 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.007709, allocations: 53.72 kB / 483.8 MB, free: 9.801 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.71e-05/0.007746, allocations: 142.2 kB / 483.9 MB, free: 9.648 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.007761, allocations: 27.23 kB / 483.9 MB, free: 9.617 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.008028, allocations: 132.2 kB / 484.1 MB, free: 25.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.008077, allocations: 25.08 kB / 484.1 MB, free: 25.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.008133, allocations: 28.31 kB / 484.1 MB, free: 25.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002392/0.008372, allocations: 499.5 kB / 484.6 MB, free: 24.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.008712, allocations: 43.81 kB / 484.7 MB, free: 24.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.009069, allocations: 78.7 kB / 484.7 MB, free: 24.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.00971, allocations: 121 kB / 484.8 MB, free: 24.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.009711, allocations: 1.625 kB / 484.8 MB, free: 24.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000746/0.01046, allocations: 142.3 kB / 485 MB, free: 24.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.01048, allocations: 9.5 kB / 485 MB, free: 24.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.01048, allocations: 1.062 kB / 485 MB, free: 24.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.0105, allocations: 1.688 kB / 485 MB, free: 24.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.01079, allocations: 35.05 kB / 485 MB, free: 24.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.01079, allocations: 1.25 kB / 485 MB, free: 24.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.01103, allocations: 25.03 kB / 485.1 MB, free: 24.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.01105, allocations: 3.469 kB / 485.1 MB, free: 24.8 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.0001147/0.01116, allocations: 154.9 kB / 485.2 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.01119, allocations: 5.438 kB / 485.2 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.271e-05/0.01125, allocations: 12.91 kB / 485.2 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01125, allocations: 1 kB / 485.2 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01126, allocations: 5.031 kB / 485.2 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01126, allocations: 1.328 kB / 485.2 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.01226, allocations: 380.9 kB / 485.6 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01227, allocations: 1.25 kB / 485.6 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.01252, allocations: 28.19 kB / 485.6 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01252, allocations: 5.031 kB / 485.6 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.01254, allocations: 3.922 kB / 485.6 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01254, allocations: 0 / 485.6 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01254, allocations: 2.062 kB / 485.7 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008047/0.01335, allocations: 289.1 kB / 485.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.01335, allocations: 8.875 kB / 485.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.01338, allocations: 3.938 kB / 485.9 MB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.01362, allocations: 22.53 kB / 486 MB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.01364, allocations: 1.219 kB / 486 MB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.01365, allocations: 1.938 kB / 486 MB, free: 24.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.7e-05/0.01372, allocations: 120.3 kB / 486.1 MB, free: 24 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01372, allocations: 0.875 kB / 486.1 MB, free: 24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.01394, allocations: 7.719 kB / 486.1 MB, free: 24 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.0001178/0.01406, allocations: 102.4 kB / 486.2 MB, free: 23.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007612/0.01482, allocations: 117 kB / 486.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.01482, allocations: 1.219 kB / 486.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.01517, allocations: 64.92 kB / 486.4 MB, free: 23.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.01537, allocations: 6.406 kB / 486.4 MB, free: 23.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007752/0.01615, allocations: 173.7 kB / 486.6 MB, free: 23.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.087e-05/0.01619, allocations: 63.28 kB / 486.6 MB, free: 23.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.01638, allocations: 34.47 kB / 486.6 MB, free: 23.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.351e-05/0.01645, allocations: 11.75 kB / 486.7 MB, free: 23.65 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01645, allocations: 0 / 486.7 MB, free: 23.65 MB / 426.7 MB Notification: Performance of Templates: time 0.003145/0.01959, allocations: 0.8129 MB / 487.5 MB, free: 23.59 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: 5.812347218976356]