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.0009518/0.0009518, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009689/0.0009689, allocations: 169 kB / 24.05 MB, free: 452 kB / 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.9938/0.9938, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.6268/0.6268, allocations: 115 MB / 376 MB, free: 7.5 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.273e-06/1.273e-06, allocations: 0 / 482 MB, free: 11.65 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.892e-05, allocations: 2.312 kB / 482 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001077/0.001096, allocations: 0.6148 MB / 482.6 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009515/0.002048, allocations: 1.162 MB / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.002073, allocations: 0 / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.002087, allocations: 0.5625 kB / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.002278, allocations: 22.67 kB / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.424e-06/0.00228, allocations: 0 / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 2.891e-05/0.002309, allocations: 2.5 kB / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.068e-05/0.00234, allocations: 1.625 kB / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.413e-05/0.002364, allocations: 7.156 kB / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.37e-05/0.002388, allocations: 4.547 kB / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.285e-06/0.002396, allocations: 7.875 kB / 483.8 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.182e-05/0.002478, allocations: 16.05 kB / 483.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.002487, allocations: 0 / 483.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.206e-06/0.002495, allocations: 1.094 kB / 483.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.958e-05/0.002555, allocations: 13.19 kB / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002557, allocations: 2.031 kB / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.002557, allocations: 0 / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.00256, allocations: 1.125 kB / 483.9 MB, free: 10.43 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.000154/0.002714, allocations: 353.8 kB / 484.2 MB, free: 10.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.002756, allocations: 10 kB / 484.2 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.002921, allocations: 14.67 kB / 484.2 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.59e-05/0.002957, allocations: 104.6 kB / 484.4 MB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.002966, allocations: 5.312 kB / 484.4 MB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.002979, allocations: 10.2 kB / 484.4 MB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.641e-05/0.003035, allocations: 37.86 kB / 484.4 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.003042, allocations: 1.219 kB / 484.4 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-06/0.003048, allocations: 1.781 kB / 484.4 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.003052, allocations: 3.938 kB / 484.4 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.003072, allocations: 7.203 kB / 484.4 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.788e-05/0.00314, allocations: 92.55 kB / 484.5 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.00324, allocations: 46.38 kB / 484.6 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.163e-05/0.003252, allocations: 9.875 kB / 484.6 MB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.003268, allocations: 1.875 kB / 484.6 MB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.003282, allocations: 38.73 kB / 484.6 MB, free: 9.676 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.003283, allocations: 5.922 kB / 484.6 MB, free: 9.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008293/0.004112, allocations: 235.1 kB / 484.8 MB, free: 9.613 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/0.004129, allocations: 57.69 kB / 484.9 MB, free: 9.547 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.683e-05/0.004146, allocations: 143.5 kB / 485 MB, free: 9.395 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.004155, allocations: 25.7 kB / 485.1 MB, free: 9.363 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.004334, allocations: 132.1 kB / 485.2 MB, free: 25.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.004363, allocations: 24.52 kB / 485.2 MB, free: 25.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.004397, allocations: 23 kB / 485.2 MB, free: 25.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.004484, allocations: 497.4 kB / 485.7 MB, free: 24.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/0.004517, allocations: 7.219 kB / 485.7 MB, free: 24.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/0.004556, allocations: 38.23 kB / 485.8 MB, free: 24.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.908e-05/0.004625, allocations: 42.16 kB / 485.8 MB, free: 24.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004626, allocations: 1.188 kB / 485.8 MB, free: 24.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001169/0.004743, allocations: 62.78 kB / 485.9 MB, free: 24.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.004754, allocations: 5.125 kB / 485.9 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.004758, allocations: 2.438 kB / 485.9 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.004769, allocations: 1.125 kB / 485.9 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.004901, allocations: 35.81 kB / 485.9 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.004905, allocations: 12.34 kB / 485.9 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.595e-05/0.004991, allocations: 20.88 kB / 485.9 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.005001, allocations: 10.2 kB / 486 MB, free: 24.55 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 5.843e-05/0.005059, allocations: 155.3 kB / 486.1 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.005072, allocations: 2.094 kB / 486.1 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.005105, allocations: 12.69 kB / 486.1 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.005106, allocations: 1.062 kB / 486.1 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.005108, allocations: 1.094 kB / 486.1 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.005111, allocations: 5.094 kB / 486.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.005343, allocations: 292.3 kB / 486.4 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.005344, allocations: 0.9375 kB / 486.4 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.005454, allocations: 27.66 kB / 486.4 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.005456, allocations: 3.188 kB / 486.4 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.005465, allocations: 4.578 kB / 486.4 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.005466, allocations: 3.938 kB / 486.5 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005467, allocations: 1.156 kB / 486.5 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.005611, allocations: 206.3 kB / 486.7 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.539e-06/0.005616, allocations: 2.969 kB / 486.7 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.005629, allocations: 5.062 kB / 486.7 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.005733, allocations: 25.84 kB / 486.7 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-06/0.005741, allocations: 1.281 kB / 486.7 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.005748, allocations: 2.406 kB / 486.7 MB, free: 23.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.068e-05/0.005779, allocations: 119.8 kB / 486.8 MB, free: 23.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005779, allocations: 0 / 486.8 MB, free: 23.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.005929, allocations: 9.688 kB / 486.8 MB, free: 23.78 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 7.934e-05/0.006009, allocations: 100.8 kB / 486.9 MB, free: 23.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.00613, allocations: 32.17 kB / 486.9 MB, free: 23.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.006131, allocations: 2.156 kB / 487 MB, free: 23.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.734e-05/0.006169, allocations: 18.98 kB / 487 MB, free: 23.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.006309, allocations: 10.28 kB / 487 MB, free: 23.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.006571, allocations: 133 kB / 487.1 MB, free: 23.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.556e-05/0.006597, allocations: 53.67 kB / 487.2 MB, free: 23.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.006713, allocations: 31.22 kB / 487.2 MB, free: 23.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.397e-05/0.006807, allocations: 73.81 kB / 487.3 MB, free: 23.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/0.006808, allocations: 0.5312 kB / 487.3 MB, free: 23.4 MB / 426.7 MB Notification: Performance of Templates: time 0.002188/0.008996, allocations: 0.8853 MB / 488.1 MB, free: 23.33 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.4387789191678166]