Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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.0009602/0.0009602, allocations: 93.06 kB / 19.65 MB, free: 276 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.001105/0.001105, allocations: 169 kB / 23.02 MB, free: 1.543 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.9667/0.9667, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.002077/0.002077, allocations: 230 kB / 260.2 MB, free: 12.84 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.729/0.729, allocations: 138.4 MB / 455.2 MB, free: 1.488 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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.5551 GB, free: 468 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.801e-05, allocations: 2.312 kB / 0.5551 GB, free: 464 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002607/0.002635, allocations: 1.514 MB / 0.5566 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.003683, allocations: 0.5969 MB / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.003751, allocations: 4 kB / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.614e-05/0.003787, allocations: 7.922 kB / 0.5572 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.003842, allocations: 3.938 kB / 0.5572 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.004211, allocations: 59.73 kB / 0.5573 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.004332, allocations: 31.86 kB / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.004439, allocations: 12 kB / 0.5573 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.0046, allocations: 23.86 kB / 0.5573 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.00466, allocations: 15.97 kB / 0.5573 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.004676, allocations: 0 / 0.5573 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.00482, allocations: 55.89 kB / 0.5574 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.004837, allocations: 8 kB / 0.5574 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.004861, allocations: 3.938 kB / 0.5574 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.005021, allocations: 75.83 kB / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.005024, allocations: 0 / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005026, allocations: 0 / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.005031, allocations: 0 / 0.5575 GB, free: 14.02 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.0003637/0.005394, allocations: 388.3 kB / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.005431, allocations: 8.75 kB / 0.5579 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.005554, allocations: 16.92 kB / 0.5579 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.005699, allocations: 120.5 kB / 0.558 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.005708, allocations: 384 / 0.558 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.005716, allocations: 4.375 kB / 0.558 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.005819, allocations: 50.95 kB / 0.558 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.005827, allocations: 192 / 0.558 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.005836, allocations: 384 / 0.558 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.005845, allocations: 3.938 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.752e-05/0.005872, allocations: 8 kB / 0.5581 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.006117, allocations: 251.8 kB / 0.5583 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.176e-05/0.006168, allocations: 31 kB / 0.5583 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.00619, allocations: 15.75 kB / 0.5583 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/0.006484, allocations: 75.89 kB / 0.5584 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.006515, allocations: 41.33 kB / 0.5585 GB, free: 12.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.006517, allocations: 0 / 0.5585 GB, free: 12.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001679/0.006685, allocations: 53.58 kB / 0.5585 GB, free: 12.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.006716, allocations: 51.41 kB / 0.5586 GB, free: 12.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.312e-05/0.0068, allocations: 165.9 kB / 0.5587 GB, free: 12.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.006812, allocations: 25.7 kB / 0.5587 GB, free: 12.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.006859, allocations: 134.9 kB / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.006878, allocations: 3.953 kB / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.006911, allocations: 27.36 kB / 0.5589 GB, free: 12.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.007033, allocations: 492.1 kB / 0.5594 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.007048, allocations: 8.125 kB / 0.5594 GB, free: 11.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.039e-05/0.007058, allocations: 4 kB / 0.5594 GB, free: 11.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/0.007089, allocations: 19.67 kB / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.007091, allocations: 0 / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.674e-05/0.007148, allocations: 41.64 kB / 0.5594 GB, free: 11.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.007162, allocations: 7.938 kB / 0.5594 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.007166, allocations: 0 / 0.5594 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.007179, allocations: 0 / 0.5594 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.922e-05/0.007238, allocations: 11.92 kB / 0.5595 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.007243, allocations: 96 / 0.5595 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.425e-05/0.007257, allocations: 8 kB / 0.5595 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.007262, allocations: 0 / 0.5595 GB, free: 11.79 MB / 490.7 MB 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 6.262e-05/0.007324, allocations: 156.6 kB / 0.5596 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.007339, allocations: 11.89 kB / 0.5596 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.145e-05/0.00743, allocations: 49.25 kB / 0.5597 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007432, allocations: 0 / 0.5597 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.007436, allocations: 4 kB / 0.5597 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.00744, allocations: 3.984 kB / 0.5597 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.044e-05/0.00753, allocations: 116.6 kB / 0.5598 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.007532, allocations: 4.031 kB / 0.5598 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.007549, allocations: 7.984 kB / 0.5598 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.007552, allocations: 3.984 kB / 0.5598 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.007558, allocations: 3.938 kB / 0.5598 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.00756, allocations: 4 kB / 0.5598 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007561, allocations: 0 / 0.5598 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.617e-05/0.007647, allocations: 191.9 kB / 0.56 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-06/0.007651, allocations: 0 / 0.56 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.007662, allocations: 3.938 kB / 0.56 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.567e-05/0.007687, allocations: 0 / 0.56 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.007714, allocations: 12.02 kB / 0.56 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.007716, allocations: 0 / 0.56 GB, free: 11.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.903e-05/0.007755, allocations: 135.5 kB / 0.5601 GB, free: 11.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007755, allocations: 0 / 0.5601 GB, free: 11.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.007907, allocations: 15.98 kB / 0.5602 GB, free: 11.01 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 (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.0001277/0.008035, allocations: 111.2 kB / 0.5603 GB, free: 10.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.716e-05/0.008112, allocations: 15.67 kB / 0.5603 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.008114, allocations: 0 / 0.5603 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.008131, allocations: 15.69 kB / 0.5603 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.008277, allocations: 11.09 kB / 0.5603 GB, free: 10.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.008683, allocations: 149.1 kB / 0.5604 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.008714, allocations: 51.36 kB / 0.5605 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.175e-05/0.008736, allocations: 4 kB / 0.5605 GB, free: 10.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.008755, allocations: 8.5 kB / 0.5605 GB, free: 10.59 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008755, allocations: 0 / 0.5605 GB, free: 10.59 MB / 490.7 MB Notification: Performance of Templates: time 0.002325/0.01108, allocations: 0.7783 MB / 0.5613 GB, free: 9.816 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5530888698995113]