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.001843/0.001843, allocations: 81.5 kB / 19.44 MB, free: 344 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.00206/0.00206, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.617/1.617, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.003253/0.003253, allocations: 246.9 kB / 259.8 MB, free: 12.87 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.168/1.168, allocations: 138.4 MB / 454.7 MB, free: 1.496 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.413e-06/1.413e-06, allocations: 0 / 0.5544 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.527e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001943/0.001968, allocations: 0.6004 MB / 0.555 GB, free: 216 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.003686, allocations: 1.143 MB / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.659e-05/0.003713, allocations: 4 kB / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.003727, allocations: 3.938 kB / 0.5561 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.003945, allocations: 19.86 kB / 0.5561 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.088e-06/0.003949, allocations: 0 / 0.5561 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.574e-05/0.003985, allocations: 7.922 kB / 0.5561 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.00402, allocations: 4 kB / 0.5561 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.392e-05/0.004044, allocations: 0 / 0.5561 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.796e-05/0.004072, allocations: 4 kB / 0.5561 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.754e-06/0.00408, allocations: 0 / 0.5561 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.302e-05/0.004173, allocations: 15.92 kB / 0.5561 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.004183, allocations: 4 kB / 0.5561 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.006e-05/0.004193, allocations: 4 kB / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.1e-05/0.004284, allocations: 15.97 kB / 0.5562 GB, free: 14.97 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004287, allocations: 0 / 0.5562 GB, free: 14.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004287, allocations: 0 / 0.5562 GB, free: 14.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.00429, allocations: 0 / 0.5562 GB, free: 14.97 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.0003693/0.00466, allocations: 340.4 kB / 0.5565 GB, free: 14.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.004698, allocations: 12.73 kB / 0.5565 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.00474, allocations: 8.875 kB / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.004843, allocations: 108.6 kB / 0.5566 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.004854, allocations: 384 / 0.5566 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.004882, allocations: 12.27 kB / 0.5566 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.881e-05/0.00498, allocations: 38.25 kB / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.004991, allocations: 192 / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.005001, allocations: 4.375 kB / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.005007, allocations: 3.938 kB / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.859e-05/0.005046, allocations: 4 kB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.00522, allocations: 112.6 kB / 0.5568 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.005421, allocations: 47.03 kB / 0.5568 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/0.005445, allocations: 7.688 kB / 0.5568 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.005555, allocations: 8.078 kB / 0.5568 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.005596, allocations: 41.39 kB / 0.5569 GB, free: 14.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005597, allocations: 4 kB / 0.5569 GB, free: 14.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.002869/0.008466, allocations: 345.5 kB / 0.5572 GB, free: 13.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.008516, allocations: 55.41 kB / 0.5573 GB, free: 13.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.008602, allocations: 142.2 kB / 0.5574 GB, free: 13.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.008629, allocations: 25.7 kB / 0.5574 GB, free: 13.51 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.008696, allocations: 126.9 kB / 0.5575 GB, free: 13.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.008747, allocations: 19.84 kB / 0.5576 GB, free: 13.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.008815, allocations: 27.38 kB / 0.5576 GB, free: 13.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002655/0.00908, allocations: 0.4884 MB / 0.5581 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.00945, allocations: 43.97 kB / 0.5581 GB, free: 12.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.009832, allocations: 74.97 kB / 0.5582 GB, free: 12.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007353/0.01057, allocations: 115 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01057, allocations: 4.188 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0008211/0.01139, allocations: 141.6 kB / 0.5584 GB, free: 12.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.01141, allocations: 4 kB / 0.5584 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.01142, allocations: 8.094 kB / 0.5584 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.01143, allocations: 3.938 kB / 0.5584 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.01172, allocations: 35.91 kB / 0.5585 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.01173, allocations: 4 kB / 0.5585 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.01196, allocations: 20 kB / 0.5585 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.01197, allocations: 0 / 0.5585 GB, free: 12.35 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.0001471/0.01212, allocations: 168.5 kB / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.01214, allocations: 0 / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009074/0.01305, allocations: 165.2 kB / 0.5588 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01305, allocations: 0 / 0.5588 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.01306, allocations: 7.875 kB / 0.5588 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01306, allocations: 0 / 0.5588 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.0142, allocations: 373.5 kB / 0.5592 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.0142, allocations: 3.984 kB / 0.5592 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.01448, allocations: 31.98 kB / 0.5592 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.01448, allocations: 7.875 kB / 0.5592 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.0145, allocations: 4 kB / 0.5592 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.0145, allocations: 0 / 0.5592 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.0145, allocations: 0 / 0.5592 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009053/0.01541, allocations: 283.8 kB / 0.5595 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-06/0.01542, allocations: 0 / 0.5595 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.01544, allocations: 7.938 kB / 0.5595 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.0157, allocations: 20.17 kB / 0.5595 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.01572, allocations: 0 / 0.5595 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.01573, allocations: 8 kB / 0.5595 GB, free: 11.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.475e-05/0.01581, allocations: 123.2 kB / 0.5596 GB, free: 11.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01581, allocations: 0 / 0.5596 GB, free: 11.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002555/0.01607, allocations: 12 kB / 0.5597 GB, free: 11.09 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.0001984/0.01626, allocations: 111.2 kB / 0.5598 GB, free: 10.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008161/0.01708, allocations: 107.7 kB / 0.5599 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01708, allocations: 0 / 0.5599 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003844/0.01747, allocations: 67.72 kB / 0.5599 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.01768, allocations: 4 kB / 0.5599 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008662/0.01855, allocations: 176.8 kB / 0.5601 GB, free: 10.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.191e-05/0.01862, allocations: 59.34 kB / 0.5602 GB, free: 10.51 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.0188, allocations: 28 kB / 0.5602 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.01889, allocations: 12.5 kB / 0.5602 GB, free: 10.47 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01889, allocations: 0 / 0.5602 GB, free: 10.47 MB / 490.7 MB Notification: Performance of Templates: time 0.003746/0.02263, allocations: 0.8707 MB / 0.5611 GB, free: 9.617 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.903998248046264]