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.001313/0.001313, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001491/0.001491, allocations: 164.4 kB / 25.05 MB, free: 9.148 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 0.999/0.999, allocations: 177.1 MB / 205.5 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] 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 2.03/2.03, allocations: 389.6 MB / 0.6363 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] 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 1.543e-06/1.543e-06, allocations: 0 / 0.7761 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.594e-05, allocations: 5.266 kB / 0.7761 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.0056/0.005626, allocations: 1.54 MB / 0.7776 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007899/0.006416, allocations: 0.4942 MB / 0.7781 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.006457, allocations: 4 kB / 0.7781 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.823e-05/0.006495, allocations: 3.938 kB / 0.7781 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.826e-05/0.006563, allocations: 3.062 kB / 0.7781 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.006747, allocations: 20.91 kB / 0.7782 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.686e-05/0.006814, allocations: 25.8 kB / 0.7782 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.433e-05/0.006888, allocations: 7.984 kB / 0.7782 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.302e-05/0.006961, allocations: 13.41 kB / 0.7782 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.614e-05/0.006997, allocations: 13.28 kB / 0.7782 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.007014, allocations: 2.109 kB / 0.7782 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.06e-05/0.007104, allocations: 16.48 kB / 0.7782 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.007121, allocations: 8.859 kB / 0.7782 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.562e-05/0.007136, allocations: 7.938 kB / 0.7783 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.007244, allocations: 29.14 kB / 0.7783 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.007247, allocations: 0 / 0.7783 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.333e-06/0.007248, allocations: 0 / 0.7783 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.007252, allocations: 0.5 kB / 0.7783 GB, free: 3.125 MB / 0.7292 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.000294/0.007546, allocations: 237.7 kB / 0.7785 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.007585, allocations: 17.28 kB / 0.7785 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.007788, allocations: 18.84 kB / 0.7785 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.007948, allocations: 105.8 kB / 0.7786 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.007957, allocations: 384 / 0.7786 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.007967, allocations: 384 / 0.7786 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.008077, allocations: 58.94 kB / 0.7787 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.008084, allocations: 2.938 kB / 0.7787 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.008091, allocations: 4.375 kB / 0.7787 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.008099, allocations: 7.922 kB / 0.7787 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.299e-05/0.008122, allocations: 4 kB / 0.7787 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.008351, allocations: 164.1 kB / 0.7789 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.436e-05/0.008395, allocations: 22.56 kB / 0.7789 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.008413, allocations: 12.05 kB / 0.7789 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.008427, allocations: 0 / 0.7789 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.00845, allocations: 34.56 kB / 0.7789 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.008451, allocations: 0 / 0.7789 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001254/0.008577, allocations: 49.56 kB / 0.779 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.008607, allocations: 51.41 kB / 0.779 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.274e-05/0.00866, allocations: 102.7 kB / 0.7791 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.00867, allocations: 25.7 kB / 0.7792 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.0087, allocations: 89.72 kB / 0.7792 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.008717, allocations: 3.953 kB / 0.7792 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.008749, allocations: 17.72 kB / 0.7793 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.008826, allocations: 314.8 kB / 0.7796 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.008838, allocations: 4.781 kB / 0.7796 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.096e-05/0.008849, allocations: 3.984 kB / 0.7796 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.952e-05/0.008889, allocations: 14.14 kB / 0.7796 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.008891, allocations: 0 / 0.7796 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.165e-05/0.008952, allocations: 43.34 kB / 0.7796 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.008964, allocations: 4 kB / 0.7796 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.008969, allocations: 0 / 0.7796 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.008979, allocations: 4.188 kB / 0.7796 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-05/0.009055, allocations: 9.25 kB / 0.7796 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.009058, allocations: 4 kB / 0.7796 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/0.009088, allocations: 7.984 kB / 0.7797 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.009093, allocations: 0 / 0.7797 GB, free: 1.574 MB / 0.7292 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 5.405e-05/0.009147, allocations: 106.5 kB / 0.7798 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.009168, allocations: 5.125 kB / 0.7798 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.0092, allocations: 7.312 kB / 0.7798 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.009203, allocations: 4.875 kB / 0.7798 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.009204, allocations: 0 / 0.7798 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.009208, allocations: 4.484 kB / 0.7798 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.009311, allocations: 69.89 kB / 0.7798 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.009312, allocations: 0.7812 kB / 0.7798 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.009352, allocations: 7.984 kB / 0.7799 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.009353, allocations: 0.625 kB / 0.7799 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.00936, allocations: 8.844 kB / 0.7799 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.009362, allocations: 3.938 kB / 0.7799 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009363, allocations: 0 / 0.7799 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.786e-05/0.009451, allocations: 132.3 kB / 0.78 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.009459, allocations: 4.531 kB / 0.78 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.009467, allocations: 0 / 0.78 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.373e-05/0.009521, allocations: 5.781 kB / 0.78 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.009547, allocations: 11.92 kB / 0.78 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.00955, allocations: 0 / 0.78 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.271e-05/0.009563, allocations: 8.859 kB / 0.78 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009563, allocations: 3.062 kB / 0.78 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001633/0.009727, allocations: 4 kB / 0.78 GB, free: 1.16 MB / 0.7292 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.003118/0.01284, allocations: 76.42 kB / 0.7801 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.953e-05/0.01292, allocations: 20.78 kB / 0.7801 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.01293, allocations: 4 kB / 0.7801 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.017e-05/0.01295, allocations: 12.84 kB / 0.7801 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.01313, allocations: 11.03 kB / 0.7801 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002308/0.01336, allocations: 108.6 kB / 0.7803 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.536e-05/0.01339, allocations: 59.34 kB / 0.7803 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.4e-05/0.01343, allocations: 2.5 kB / 0.7803 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.01348, allocations: 51.38 kB / 0.7804 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.01348, allocations: 0 / 0.7804 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of Templates: time 0.005362/0.01884, allocations: 0.6075 MB / 0.781 GB, free: 192 kB / 0.7292 GB " [Timeout remaining time 300] 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: 5.115108208730817]