Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.001855/0.001855, allocations: 104.3 kB / 19.72 MB, free: 420 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.001997/0.001997, allocations: 220 kB / 23.02 MB, free: 2.957 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.656/1.656, allocations: 230.6 MB / 256.8 MB, free: 9.574 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.351/3.351, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.01316/0.01316, allocations: 71.89 kB / 1.177 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8586/0.8718, allocations: 180 MB / 1.353 GB, free: 1.555 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002921/0.8747, allocations: 1.456 MB / 1.354 GB, free: 92 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0009513/0.8756, allocations: 478.9 kB / 1.355 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.8757, allocations: 0 / 1.355 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.8757, allocations: 0 / 1.355 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.787e-05/0.8758, allocations: 7.938 kB / 1.355 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.876, allocations: 31.91 kB / 1.355 GB, free: 15.58 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 6.617e-05/0.876, allocations: 19.92 kB / 1.355 GB, free: 15.56 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.8761, allocations: 11.98 kB / 1.355 GB, free: 15.55 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.8762, allocations: 15.94 kB / 1.355 GB, free: 15.53 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.8762, allocations: 7.922 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.8762, allocations: 4 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.184e-05/0.8763, allocations: 12 kB / 1.355 GB, free: 15.51 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.8763, allocations: 7.969 kB / 1.355 GB, free: 15.5 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.8763, allocations: 15.88 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.8764, allocations: 26.78 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8764, allocations: 0 / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8764, allocations: 0 / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.8764, allocations: 0 / 1.355 GB, free: 15.46 MB / 1.042 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.0004814/0.8769, allocations: 270.3 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.877, allocations: 12.86 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002527/0.8772, allocations: 20.91 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.8773, allocations: 110.5 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.8773, allocations: 384 / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.8774, allocations: 384 / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.8775, allocations: 53.98 kB / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.8775, allocations: 0 / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.8776, allocations: 7.938 kB / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.8776, allocations: 4 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.8778, allocations: 43.89 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.8781, allocations: 208.5 kB / 1.356 GB, free: 14.66 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.8783, allocations: 46.48 kB / 1.356 GB, free: 14.6 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.986e-05/0.8784, allocations: 24.91 kB / 1.356 GB, free: 14.57 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.8784, allocations: 0 / 1.356 GB, free: 14.57 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.8784, allocations: 34.5 kB / 1.356 GB, free: 14.53 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.8784, allocations: 4 kB / 1.356 GB, free: 14.53 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0005925/0.879, allocations: 89.64 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.8791, allocations: 51.41 kB / 1.356 GB, free: 14.37 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.8792, allocations: 101.8 kB / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.8792, allocations: 29.7 kB / 1.356 GB, free: 14.23 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.8793, allocations: 80.14 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.8793, allocations: 7.953 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.8793, allocations: 13.84 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.8795, allocations: 322.8 kB / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.619e-05/0.8796, allocations: 15.98 kB / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.346e-05/0.8797, allocations: 15.98 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.8798, allocations: 48.75 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.8798, allocations: 0 / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002104/0.88, allocations: 81.66 kB / 1.357 GB, free: 13.62 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.88, allocations: 4 kB / 1.357 GB, free: 13.62 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.88, allocations: 0 / 1.357 GB, free: 13.62 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.8801, allocations: 0 / 1.357 GB, free: 13.62 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.8802, allocations: 11.98 kB / 1.357 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.8802, allocations: 0 / 1.357 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.401e-05/0.8803, allocations: 4 kB / 1.357 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.8803, allocations: 3.938 kB / 1.357 GB, free: 13.6 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 9.434e-05/0.8804, allocations: 118.3 kB / 1.357 GB, free: 13.48 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.8804, allocations: 11.92 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.8804, allocations: 7.312 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.8804, allocations: 4 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.8804, allocations: 0 / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.8804, allocations: 3.938 kB / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.8806, allocations: 105.3 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.8806, allocations: 4.188 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.79e-05/0.8807, allocations: 15.98 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.8807, allocations: 4 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.8807, allocations: 0 / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8807, allocations: 0 / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8807, allocations: 0 / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.881, allocations: 167.5 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.881, allocations: 7.938 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.881, allocations: 0 / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.8811, allocations: 7.984 kB / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.8812, allocations: 0 / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.8812, allocations: 4.031 kB / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.633e-05/0.8812, allocations: 87.27 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.8812, allocations: 4 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002062/0.8814, allocations: 4 kB / 1.357 GB, free: 13 MB / 1.042 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 (2): * Single equations (assignments): 2 * 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.0001222/0.8815, allocations: 95.19 kB / 1.357 GB, free: 12.9 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.8818, allocations: 39.97 kB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8818, allocations: 0 / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 8.982e-05/0.8818, allocations: 28.03 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.8821, allocations: 7.938 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.8824, allocations: 97.67 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.725e-05/0.8825, allocations: 63.34 kB / 1.357 GB, free: 12.62 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.623e-05/0.8825, allocations: 15.95 kB / 1.357 GB, free: 12.61 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.8826, allocations: 7.438 kB / 1.357 GB, free: 12.6 MB / 1.042 GB Notification: Performance of SimCode: time 5.31e-07/0.8826, allocations: 0 / 1.357 GB, free: 12.6 MB / 1.042 GB Notification: Performance of Templates: time 0.003086/0.8856, allocations: 0.5953 MB / 1.358 GB, free: 12.02 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.990295911207795]