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.0009308/0.0009308, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002291, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.001572/0.001572, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001856/0.003428, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.073/1.073, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0905/1.164, allocations: 53.65 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6392/0.6392, allocations: 119.1 MB / 363.1 MB, free: 3.711 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07094/0.7102, allocations: 37.87 MB / 400.9 MB, free: 13.72 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.102e-06/1.102e-06, allocations: 0 / 402.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.568e-05, allocations: 6.25 kB / 402.3 MB, free: 12.35 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001371/0.001387, allocations: 0.6384 MB / 402.9 MB, free: 11.71 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009626/0.002349, allocations: 1.167 MB / 404.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.461e-05/0.002364, allocations: 0 / 404.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.927e-06/0.002368, allocations: 0 / 404.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.653e-05/0.002454, allocations: 23.84 kB / 404.1 MB, free: 10.5 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.685e-06/0.002457, allocations: 0 / 404.1 MB, free: 10.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 3.009e-05/0.002487, allocations: 7.938 kB / 404.1 MB, free: 10.49 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.006e-05/0.002517, allocations: 4 kB / 404.1 MB, free: 10.49 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.2e-05/0.002539, allocations: 3.938 kB / 404.1 MB, free: 10.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.114e-05/0.00256, allocations: 3.938 kB / 404.1 MB, free: 10.48 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.293e-06/0.002567, allocations: 4 kB / 404.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.384e-05/0.002651, allocations: 11.98 kB / 404.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-06/0.002657, allocations: 4 kB / 404.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-06/0.002664, allocations: 0 / 404.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 6.163e-05/0.002725, allocations: 15.92 kB / 404.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.002736, allocations: 4 kB / 404.2 MB, free: 10.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002737, allocations: 0 / 404.2 MB, free: 10.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.002747, allocations: 0 / 404.2 MB, free: 10.44 MB / 394.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.0001782/0.002925, allocations: 228.6 kB / 404.4 MB, free: 10.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.002952, allocations: 8.031 kB / 404.4 MB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.003171, allocations: 94.03 kB / 404.5 MB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.794e-05/0.003229, allocations: 105.8 kB / 404.6 MB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.003237, allocations: 4.375 kB / 404.6 MB, free: 9.945 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.003251, allocations: 8.297 kB / 404.6 MB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.18e-05/0.003312, allocations: 38.25 kB / 404.7 MB, free: 9.895 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.003319, allocations: 192 / 404.7 MB, free: 9.895 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-06/0.003325, allocations: 384 / 404.7 MB, free: 9.895 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.003331, allocations: 7.938 kB / 404.7 MB, free: 9.887 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.028e-05/0.003351, allocations: 4 kB / 404.7 MB, free: 9.883 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.674e-05/0.003418, allocations: 57.05 kB / 404.7 MB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.003523, allocations: 26.61 kB / 404.8 MB, free: 9.777 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.106e-05/0.003534, allocations: 16.8 kB / 404.8 MB, free: 9.758 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.003547, allocations: 0 / 404.8 MB, free: 9.758 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.003569, allocations: 42.62 kB / 404.8 MB, free: 9.707 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 5.81e-07/0.003569, allocations: 0 / 404.8 MB, free: 9.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006947/0.004264, allocations: 242.6 kB / 405.1 MB, free: 9.461 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.00429, allocations: 51.41 kB / 405.1 MB, free: 9.398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.534e-05/0.004315, allocations: 97.8 kB / 405.2 MB, free: 9.293 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.004328, allocations: 29.7 kB / 405.2 MB, free: 9.258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.653e-05/0.004345, allocations: 80.14 kB / 405.3 MB, free: 9.176 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.004374, allocations: 15.86 kB / 405.3 MB, free: 9.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.00441, allocations: 21.7 kB / 405.3 MB, free: 9.133 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.004471, allocations: 314.8 kB / 405.6 MB, free: 8.816 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.666e-05/0.004498, allocations: 4 kB / 405.7 MB, free: 8.812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.004535, allocations: 30.56 kB / 405.7 MB, free: 8.773 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.344e-05/0.004599, allocations: 38.5 kB / 405.7 MB, free: 8.727 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.0046, allocations: 0 / 405.7 MB, free: 8.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.959e-05/0.004689, allocations: 57.64 kB / 405.8 MB, free: 8.664 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.004701, allocations: 11.94 kB / 405.8 MB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.004705, allocations: 0 / 405.8 MB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.004712, allocations: 0 / 405.8 MB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.004854, allocations: 40.03 kB / 405.8 MB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-06/0.004856, allocations: 0 / 405.8 MB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.00493, allocations: 31.86 kB / 405.9 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.004939, allocations: 4 kB / 405.9 MB, free: 8.578 MB / 394.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.148e-05/0.005, allocations: 109.8 kB / 406 MB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.005013, allocations: 4 kB / 406 MB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.005045, allocations: 11.66 kB / 406 MB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.005046, allocations: 0 / 406 MB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.005047, allocations: 0 / 406 MB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.005053, allocations: 3.938 kB / 406 MB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.0053, allocations: 206.8 kB / 406.2 MB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.005302, allocations: 256 / 406.2 MB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.005416, allocations: 35.98 kB / 406.2 MB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-06/0.005419, allocations: 0 / 406.2 MB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.005421, allocations: 0 / 406.2 MB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.00543, allocations: 11.92 kB / 406.2 MB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.005432, allocations: 0 / 406.2 MB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005432, allocations: 4 kB / 406.2 MB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.005539, allocations: 143.5 kB / 406.4 MB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.005552, allocations: 4 kB / 406.4 MB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-05/0.005636, allocations: 19.98 kB / 406.4 MB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-06/0.005646, allocations: 7.875 kB / 406.4 MB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.005651, allocations: 0 / 406.4 MB, free: 7.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.416e-06/0.005659, allocations: 12.84 kB / 406.4 MB, free: 7.965 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005659, allocations: 0 / 406.4 MB, free: 7.965 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001237/0.005783, allocations: 16 kB / 406.4 MB, free: 7.949 MB / 394.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.606e-05/0.005849, allocations: 72.42 kB / 406.5 MB, free: 7.871 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.425e-05/0.005943, allocations: 28.91 kB / 406.5 MB, free: 7.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.005947, allocations: 0 / 406.5 MB, free: 7.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.354e-05/0.00598, allocations: 20.8 kB / 406.6 MB, free: 7.816 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.006086, allocations: 7.984 kB / 406.6 MB, free: 7.809 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.006331, allocations: 128.9 kB / 406.7 MB, free: 7.656 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.775e-05/0.006358, allocations: 55.36 kB / 406.7 MB, free: 7.582 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.925e-05/0.006458, allocations: 35.94 kB / 406.8 MB, free: 7.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.006529, allocations: 55.36 kB / 406.8 MB, free: 7.492 MB / 394.7 MB Notification: Performance of SimCode: time 5.42e-07/0.00653, allocations: 0 / 406.8 MB, free: 7.492 MB / 394.7 MB Notification: Performance of Templates: time 0.001979/0.008509, allocations: 0.8817 MB / 407.7 MB, free: 6.613 MB / 394.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.1739936945959926]