Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001284/0.001284, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001055/0.001055, allocations: 181 kB / 23.36 MB, free: 1.129 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.101/1.101, allocations: 177.1 MB / 203.8 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00209/0.00209, allocations: 243 kB / 260.5 MB, free: 12.72 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7172/0.7172, allocations: 138.4 MB / 402.2 MB, free: 0.5195 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 462.4 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.187e-05, allocations: 3.625 kB / 462.4 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001178/0.00119, allocations: 0.6572 MB / 463.1 MB, free: 468 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.002477, allocations: 1.173 MB / 464.2 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.002501, allocations: 3 kB / 464.2 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.002515, allocations: 3.938 kB / 464.3 MB, free: 15.62 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.002703, allocations: 18.2 kB / 464.3 MB, free: 15.62 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.555e-06/0.002706, allocations: 0 / 464.3 MB, free: 15.62 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 3.354e-05/0.00274, allocations: 5.047 kB / 464.3 MB, free: 15.62 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.002775, allocations: 2.719 kB / 464.3 MB, free: 15.62 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.483e-05/0.0028, allocations: 3.641 kB / 464.3 MB, free: 15.62 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.383e-05/0.002824, allocations: 7.469 kB / 464.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.002834, allocations: 0 / 464.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.002939, allocations: 16.91 kB / 464.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.002948, allocations: 0.7656 kB / 464.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.247e-06/0.002957, allocations: 2.484 kB / 464.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 6.393e-05/0.003021, allocations: 15.25 kB / 464.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003023, allocations: 0 / 464.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.003023, allocations: 0.5312 kB / 464.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.003026, allocations: 1.031 kB / 464.3 MB, free: 15.61 MB / 426.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.0001682/0.003194, allocations: 219.9 kB / 464.5 MB, free: 15.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.003225, allocations: 9.469 kB / 464.5 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.003247, allocations: 7.875 kB / 464.6 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.536e-05/0.003302, allocations: 110.3 kB / 464.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.003312, allocations: 1.875 kB / 464.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.00333, allocations: 3.094 kB / 464.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.82e-05/0.003398, allocations: 33.78 kB / 464.7 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.003408, allocations: 192 / 464.7 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.003414, allocations: 3.031 kB / 464.7 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.003422, allocations: 7.031 kB / 464.7 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.26e-05/0.003445, allocations: 4.422 kB / 464.7 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.532e-05/0.00353, allocations: 66.09 kB / 464.8 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.00365, allocations: 30.83 kB / 464.8 MB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.11e-05/0.003661, allocations: 8 kB / 464.8 MB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/0.003744, allocations: 10.2 kB / 464.8 MB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.003762, allocations: 33.16 kB / 464.9 MB, free: 15.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.003763, allocations: 1.172 kB / 464.9 MB, free: 15.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.000919/0.004682, allocations: 264.3 kB / 465.1 MB, free: 15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.004707, allocations: 52.75 kB / 465.2 MB, free: 14.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.635e-05/0.004734, allocations: 96.34 kB / 465.3 MB, free: 14.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.004748, allocations: 25.7 kB / 465.3 MB, free: 14.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.211e-05/0.00477, allocations: 81.39 kB / 465.4 MB, free: 14.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.004803, allocations: 18.62 kB / 465.4 MB, free: 14.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.004841, allocations: 19.83 kB / 465.4 MB, free: 14.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.725e-05/0.004908, allocations: 318.5 kB / 465.7 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.072e-05/0.004939, allocations: 7 kB / 465.7 MB, free: 14.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-05/0.004978, allocations: 23.95 kB / 465.7 MB, free: 14.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.354e-05/0.005052, allocations: 39.38 kB / 465.8 MB, free: 14.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.005053, allocations: 0 / 465.8 MB, free: 14.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.641e-05/0.005149, allocations: 57.86 kB / 465.8 MB, free: 14.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.00516, allocations: 6.875 kB / 465.9 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.005166, allocations: 3.719 kB / 465.9 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.005178, allocations: 1.281 kB / 465.9 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.005305, allocations: 36.05 kB / 465.9 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.005308, allocations: 2.188 kB / 465.9 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-05/0.00539, allocations: 24.81 kB / 465.9 MB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.005398, allocations: 1.922 kB / 465.9 MB, free: 14.28 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 6.047e-05/0.005459, allocations: 113.2 kB / 466 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.005473, allocations: 5.266 kB / 466 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.00565, allocations: 76.97 kB / 466.1 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.005654, allocations: 2.844 kB / 466.1 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.005657, allocations: 0 / 466.1 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.005665, allocations: 7.547 kB / 466.1 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.005933, allocations: 201.4 kB / 466.3 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.005935, allocations: 0.6562 kB / 466.3 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.006063, allocations: 31.7 kB / 466.3 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.006066, allocations: 0 / 466.3 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.006078, allocations: 3.188 kB / 466.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.00608, allocations: 0.8438 kB / 466.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.006083, allocations: 3.938 kB / 466.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.006225, allocations: 148.9 kB / 466.5 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.006234, allocations: 6.547 kB / 466.5 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.00625, allocations: 1.156 kB / 466.5 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.686e-05/0.006347, allocations: 24.28 kB / 466.5 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.00637, allocations: 7.625 kB / 466.5 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.006377, allocations: 1.734 kB / 466.5 MB, free: 13.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.949e-06/0.006387, allocations: 6.422 kB / 466.5 MB, free: 13.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006387, allocations: 2 kB / 466.6 MB, free: 13.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001566/0.006544, allocations: 12.59 kB / 466.6 MB, free: 13.77 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.0001498/0.006694, allocations: 86.59 kB / 466.6 MB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.006827, allocations: 30.81 kB / 466.7 MB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.006829, allocations: 0 / 466.7 MB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-05/0.006873, allocations: 20.61 kB / 466.7 MB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.006986, allocations: 5.359 kB / 466.7 MB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.007312, allocations: 127.1 kB / 466.8 MB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.307e-05/0.007355, allocations: 59.17 kB / 466.9 MB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.007471, allocations: 29.5 kB / 466.9 MB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.856e-05/0.00756, allocations: 53.39 kB / 467 MB, free: 13.45 MB / 426.7 MB Notification: Performance of SimCode: time 7.42e-07/0.00756, allocations: 0 / 467 MB, free: 13.45 MB / 426.7 MB Notification: Performance of Templates: time 0.002551/0.01011, allocations: 0.9317 MB / 467.9 MB, free: 12.95 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.571826555300504]