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.001791/0.001791, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002467/0.002467, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.455/1.455, allocations: 177.2 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.002561/0.002561, allocations: 233.6 kB / 259.8 MB, free: 12.83 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 1.091/1.091, allocations: 138.4 MB / 454.7 MB, free: 1.453 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.172e-06/1.172e-06, allocations: 0 / 0.5544 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.471e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001567/0.001592, allocations: 0.6043 MB / 0.555 GB, free: 176 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.003254, allocations: 1.124 MB / 0.5561 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.003277, allocations: 0 / 0.5561 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.043e-05/0.003288, allocations: 0 / 0.5561 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.00351, allocations: 23.86 kB / 0.5561 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.096e-06/0.003513, allocations: 0 / 0.5561 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.686e-05/0.00355, allocations: 7.938 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.617e-05/0.003586, allocations: 3.984 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.988e-05/0.003606, allocations: 0 / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.436e-05/0.00363, allocations: 7.938 kB / 0.5561 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.003638, allocations: 0 / 0.5561 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.00374, allocations: 23.91 kB / 0.5561 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.155e-06/0.003748, allocations: 4 kB / 0.5561 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.406e-05/0.003762, allocations: 0 / 0.5561 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.829e-05/0.00383, allocations: 7.984 kB / 0.5561 GB, free: 14.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.003832, allocations: 0 / 0.5561 GB, free: 14.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003833, allocations: 4 kB / 0.5561 GB, free: 14.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.003836, allocations: 0 / 0.5561 GB, free: 14.95 MB / 490.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.0002803/0.004116, allocations: 238.4 kB / 0.5564 GB, free: 14.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.00415, allocations: 8.75 kB / 0.5564 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.004192, allocations: 4.938 kB / 0.5564 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.984e-05/0.004292, allocations: 105.8 kB / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.004304, allocations: 4.312 kB / 0.5565 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.004332, allocations: 12.33 kB / 0.5565 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.657e-05/0.004419, allocations: 34.27 kB / 0.5565 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.004428, allocations: 4.125 kB / 0.5565 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.004435, allocations: 384 / 0.5565 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.004441, allocations: 3.938 kB / 0.5565 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.286e-05/0.004474, allocations: 7.984 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.004617, allocations: 105.3 kB / 0.5567 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.00479, allocations: 42.53 kB / 0.5567 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.00481, allocations: 4.859 kB / 0.5567 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.004921, allocations: 8.078 kB / 0.5567 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.00495, allocations: 38.56 kB / 0.5567 GB, free: 14.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.004951, allocations: 0 / 0.5567 GB, free: 14.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.004313/0.009264, allocations: 0.5676 MB / 0.5573 GB, free: 13.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.009313, allocations: 55.41 kB / 0.5574 GB, free: 13.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.521e-05/0.009368, allocations: 89.86 kB / 0.5574 GB, free: 13.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.009395, allocations: 25.7 kB / 0.5575 GB, free: 13.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.009439, allocations: 84.14 kB / 0.5575 GB, free: 13.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.009479, allocations: 11.86 kB / 0.5576 GB, free: 13.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.009539, allocations: 29.7 kB / 0.5576 GB, free: 13.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.009704, allocations: 310.8 kB / 0.5579 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/0.0103, allocations: 83.95 kB / 0.558 GB, free: 12.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.01091, allocations: 98.53 kB / 0.5581 GB, free: 12.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.01208, allocations: 194.4 kB / 0.5582 GB, free: 12.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01208, allocations: 4 kB / 0.5582 GB, free: 12.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00126/0.01334, allocations: 209.6 kB / 0.5584 GB, free: 12.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.01336, allocations: 6.812 kB / 0.5584 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.01337, allocations: 4 kB / 0.5585 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.01338, allocations: 0 / 0.5585 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.01377, allocations: 60.06 kB / 0.5585 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.01378, allocations: 4 kB / 0.5585 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.01412, allocations: 43.97 kB / 0.5586 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.01414, allocations: 4 kB / 0.5586 GB, free: 12.3 MB / 490.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 0.0002085/0.01435, allocations: 113.8 kB / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.01438, allocations: 8 kB / 0.5587 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.01577, allocations: 233.2 kB / 0.5589 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01578, allocations: 0 / 0.5589 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.01578, allocations: 3.938 kB / 0.5589 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.01579, allocations: 0 / 0.5589 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.01733, allocations: 410 kB / 0.5593 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01734, allocations: 0 / 0.5593 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.01772, allocations: 47.97 kB / 0.5593 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/0.01773, allocations: 7.938 kB / 0.5593 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.01775, allocations: 0 / 0.5593 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01775, allocations: 0 / 0.5593 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01775, allocations: 0 / 0.5593 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.0191, allocations: 307.3 kB / 0.5596 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.0191, allocations: 4 kB / 0.5596 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.01913, allocations: 7.938 kB / 0.5596 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.01951, allocations: 39.97 kB / 0.5597 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.01952, allocations: 4 kB / 0.5597 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.01953, allocations: 3.984 kB / 0.5597 GB, free: 11.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.295e-05/0.01958, allocations: 79.28 kB / 0.5598 GB, free: 10.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01958, allocations: 0 / 0.5598 GB, free: 10.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002578/0.01983, allocations: 12 kB / 0.5598 GB, free: 10.98 MB / 490.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.0001785/0.02001, allocations: 99.25 kB / 0.5599 GB, free: 10.87 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.02129, allocations: 179.9 kB / 0.56 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02129, allocations: 0 / 0.56 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005986/0.02189, allocations: 92.25 kB / 0.5601 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.02213, allocations: 13.73 kB / 0.5601 GB, free: 10.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.02332, allocations: 239.2 kB / 0.5604 GB, free: 10.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.816e-05/0.02339, allocations: 59.34 kB / 0.5604 GB, free: 10.26 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.02357, allocations: 24 kB / 0.5605 GB, free: 10.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.02365, allocations: 16.5 kB / 0.5605 GB, free: 10.22 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02365, allocations: 0 / 0.5605 GB, free: 10.22 MB / 490.7 MB Notification: Performance of Templates: time 0.003452/0.0271, allocations: 0.8452 MB / 0.5613 GB, free: 9.391 MB / 490.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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.512855898006819]