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.002051/0.002051, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.002772/0.002772, allocations: 213.9 kB / 22.99 MB, free: 4.977 MB / 14.72 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.648/1.648, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 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.077/1.077, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003366/0.003366, allocations: 69.39 kB / 0.6416 GB, free: 9.617 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2521, allocations: 89.17 MB / 0.7287 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001778/0.2538, allocations: 0.5955 MB / 0.7293 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.2554, allocations: 1.128 MB / 0.7304 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.2554, allocations: 0 / 0.7304 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.2554, allocations: 0 / 0.7304 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.2557, allocations: 23.94 kB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.2557, allocations: 0 / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.52e-05/0.2557, allocations: 3.984 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.2558, allocations: 4 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.433e-05/0.2558, allocations: 0 / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.838e-05/0.2558, allocations: 11.86 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.2558, allocations: 4 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.256, allocations: 11.98 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.719e-06/0.256, allocations: 4 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.096e-05/0.256, allocations: 0 / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 7.712e-05/0.2561, allocations: 7.984 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2561, allocations: 11.92 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2561, allocations: 0 / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.2561, allocations: 0 / 0.7304 GB, free: 14.7 MB / 0.5606 GB 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.000327/0.2564, allocations: 246.4 kB / 0.7307 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2564, allocations: 8.031 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.2567, allocations: 16.91 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.938e-05/0.2568, allocations: 106.5 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2568, allocations: 4.375 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.2569, allocations: 4.375 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.257, allocations: 38 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.257, allocations: 4 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.257, allocations: 0 / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.257, allocations: 4 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.407e-05/0.2571, allocations: 11.98 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.2572, allocations: 101.3 kB / 0.731 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.2574, allocations: 42.48 kB / 0.731 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.567e-05/0.2574, allocations: 12.84 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.2574, allocations: 0 / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2575, allocations: 34.56 kB / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.2575, allocations: 0 / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.004038/0.2615, allocations: 0.5404 MB / 0.7316 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.2615, allocations: 51.41 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.776e-05/0.2616, allocations: 89.86 kB / 0.7317 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.2616, allocations: 37.69 kB / 0.7317 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.2617, allocations: 84.14 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.2617, allocations: 11.86 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/0.2618, allocations: 17.72 kB / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.262, allocations: 318.8 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006292/0.2626, allocations: 91.89 kB / 0.7322 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006198/0.2632, allocations: 94.53 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.2644, allocations: 194.5 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2644, allocations: 0 / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001312/0.2657, allocations: 209.6 kB / 0.7327 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.2658, allocations: 7.938 kB / 0.7327 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.2658, allocations: 8.031 kB / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.2658, allocations: 3.938 kB / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.2662, allocations: 51.91 kB / 0.7328 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2662, allocations: 4 kB / 0.7328 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/0.2666, allocations: 43.97 kB / 0.7328 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.2666, allocations: 4 kB / 0.7328 GB, free: 12.05 MB / 0.5606 GB 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.000105/0.2667, allocations: 113.8 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.2667, allocations: 3.938 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.315e-05/0.2668, allocations: 11.59 kB / 0.733 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.2668, allocations: 4 kB / 0.733 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2668, allocations: 0 / 0.733 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2668, allocations: 0 / 0.733 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.2684, allocations: 402 kB / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2684, allocations: 0 / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.2688, allocations: 51.97 kB / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.2688, allocations: 0 / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.2689, allocations: 4.25 kB / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.2689, allocations: 7.984 kB / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2689, allocations: 0 / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.2703, allocations: 311.3 kB / 0.7337 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.2703, allocations: 4 kB / 0.7337 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.2703, allocations: 0 / 0.7337 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.2707, allocations: 43.98 kB / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.2707, allocations: 7.922 kB / 0.7338 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.2707, allocations: 4 kB / 0.7338 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.742e-05/0.2708, allocations: 75.28 kB / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2708, allocations: 0 / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002408/0.271, allocations: 12 kB / 0.7338 GB, free: 10.96 MB / 0.5606 GB 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.0001408/0.2712, allocations: 91.25 kB / 0.7339 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.2725, allocations: 187.9 kB / 0.7341 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2725, allocations: 0 / 0.7341 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005887/0.2731, allocations: 88.08 kB / 0.7342 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.2733, allocations: 3.938 kB / 0.7342 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.2745, allocations: 212.8 kB / 0.7344 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.718e-05/0.2746, allocations: 67.34 kB / 0.7345 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001956/0.2747, allocations: 28 kB / 0.7345 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.2749, allocations: 11.44 kB / 0.7345 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of SimCode: time 9.41e-07/0.2749, allocations: 3.938 kB / 0.7345 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of Templates: time 0.00373/0.2786, allocations: 0.7814 MB / 0.7353 GB, free: 9.453 MB / 0.5606 GB " [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: 6.317563703283668] Failed to read output from testmodel.py, exit status != 0: 0.290562704205513 0.30614087100000004 0.046634810000000006 Calling exit ...