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.0008515/0.0008515, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0009852/0.0009852, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8907/0.8907, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.5571/0.5571, allocations: 114 MB / 374.7 MB, free: 8.715 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.513e-06/1.513e-06, allocations: 0 / 0.5555 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.398e-05, allocations: 3.266 kB / 0.5555 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001231/0.001255, allocations: 0.5987 MB / 0.5561 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.002359, allocations: 1.124 MB / 0.5572 GB, free: 500 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.002383, allocations: 7.938 kB / 0.5572 GB, free: 492 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.002399, allocations: 0 / 0.5572 GB, free: 492 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.002633, allocations: 23.86 kB / 0.5572 GB, free: 468 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 3.687e-06/0.002637, allocations: 0 / 0.5572 GB, free: 468 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 3.882e-05/0.002676, allocations: 4 kB / 0.5572 GB, free: 464 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.002718, allocations: 0 / 0.5572 GB, free: 464 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.673e-05/0.002744, allocations: 3.984 kB / 0.5572 GB, free: 460 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.58e-05/0.00277, allocations: 7.938 kB / 0.5572 GB, free: 452 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.002779, allocations: 0 / 0.5572 GB, free: 452 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.446e-05/0.002874, allocations: 15.98 kB / 0.5572 GB, free: 436 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.656e-06/0.002883, allocations: 0 / 0.5572 GB, free: 436 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.03e-05/0.002893, allocations: 4 kB / 0.5572 GB, free: 432 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 8.015e-05/0.002973, allocations: 23.84 kB / 0.5572 GB, free: 408 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.002975, allocations: 0 / 0.5572 GB, free: 408 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.132e-06/0.002976, allocations: 0 / 0.5572 GB, free: 408 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.002979, allocations: 0 / 0.5572 GB, free: 408 kB / 0.5105 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.0002162/0.003196, allocations: 244.6 kB / 0.5575 GB, free: 136 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.003231, allocations: 12.62 kB / 0.5575 GB, free: 124 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.003409, allocations: 8.922 kB / 0.5575 GB, free: 116 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.92e-05/0.003478, allocations: 109.7 kB / 0.5576 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.003489, allocations: 384 / 0.5576 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.003509, allocations: 4.375 kB / 0.5576 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.232e-05/0.003602, allocations: 42.25 kB / 0.5576 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.003613, allocations: 4.172 kB / 0.5577 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.003623, allocations: 384 / 0.5577 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.003631, allocations: 11.86 kB / 0.5577 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.005e-05/0.003671, allocations: 4 kB / 0.5577 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.003773, allocations: 101.3 kB / 0.5578 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.00392, allocations: 34.55 kB / 0.5578 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.003938, allocations: 12.86 kB / 0.5578 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.003955, allocations: 96 / 0.5578 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.003973, allocations: 42.55 kB / 0.5578 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 5.51e-07/0.003974, allocations: 0 / 0.5578 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.00169/0.005663, allocations: 0.5402 MB / 0.5584 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.005694, allocations: 59.41 kB / 0.5584 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.709e-05/0.005721, allocations: 89.86 kB / 0.5585 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.005734, allocations: 25.7 kB / 0.5585 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.878e-05/0.005753, allocations: 80.14 kB / 0.5586 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.005787, allocations: 19.84 kB / 0.5586 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.005823, allocations: 21.7 kB / 0.5587 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.005896, allocations: 310.8 kB / 0.559 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.006137, allocations: 83.95 kB / 0.559 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.006382, allocations: 98.53 kB / 0.5591 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.006866, allocations: 198.4 kB / 0.5593 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006867, allocations: 0 / 0.5593 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005155/0.007383, allocations: 213.6 kB / 0.5595 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.007395, allocations: 9.406 kB / 0.5595 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.0074, allocations: 3.938 kB / 0.5595 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.007412, allocations: 0 / 0.5595 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.007578, allocations: 55.94 kB / 0.5596 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.007585, allocations: 3.938 kB / 0.5596 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.007722, allocations: 43.97 kB / 0.5596 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.007733, allocations: 4 kB / 0.5596 GB, free: 13.76 MB / 0.5261 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 6.111e-05/0.007794, allocations: 109.8 kB / 0.5597 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.007806, allocations: 7.953 kB / 0.5598 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.007847, allocations: 11.66 kB / 0.5598 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.00785, allocations: 3.984 kB / 0.5598 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.007855, allocations: 3.938 kB / 0.5598 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.007858, allocations: 0 / 0.5598 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007047/0.008563, allocations: 394.1 kB / 0.5601 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.008564, allocations: 4 kB / 0.5601 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.008714, allocations: 47.97 kB / 0.5602 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.008718, allocations: 7.922 kB / 0.5602 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.008728, allocations: 4 kB / 0.5602 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.00873, allocations: 4 kB / 0.5602 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008731, allocations: 256 / 0.5602 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.009262, allocations: 303.5 kB / 0.5605 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-06/0.009266, allocations: 3.938 kB / 0.5605 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.009281, allocations: 3.938 kB / 0.5605 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.009431, allocations: 39.98 kB / 0.5605 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.009449, allocations: 3.984 kB / 0.5605 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.009455, allocations: 7.938 kB / 0.5606 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.133e-05/0.009476, allocations: 79.28 kB / 0.5606 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-08/0.009476, allocations: 0 / 0.5606 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001507/0.009627, allocations: 12 kB / 0.5606 GB, free: 12.67 MB / 0.5261 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 7.176e-05/0.009699, allocations: 95.67 kB / 0.5607 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000525/0.01022, allocations: 176 kB / 0.5609 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01023, allocations: 0 / 0.5609 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.01047, allocations: 96.02 kB / 0.561 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.01062, allocations: 0 / 0.561 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/0.01117, allocations: 254.4 kB / 0.5612 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.529e-05/0.01123, allocations: 55.36 kB / 0.5613 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.945e-05/0.0113, allocations: 20.48 kB / 0.5613 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.0113, allocations: 3.938 kB / 0.5613 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of Templates: time 0.001665/0.01296, allocations: 1.096 MB / 0.5624 GB, free: 10.83 MB / 0.5261 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: 4.586355117149651] Failed to read output from testmodel.py, exit status != 0: 0.017954446375370026 0.025282851000000002 0.020718320000000002 Calling exit ...