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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7171/0.7171, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 181.4 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.4 MB / 426.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008405/0.0008405, allocations: 89.09 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001572/0.001572, allocations: 273.9 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005462/0.0005463, allocations: 20 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3165, allocations: 79.31 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.4416, allocations: 107.9 MB / 0.8449 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.4419, allocations: 83.94 kB / 0.845 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004239/0.4461, allocations: 1.396 MB / 0.8463 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.236e-06/0.4461, allocations: 0 / 0.8463 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.4462, allocations: 0 / 0.8463 GB, free: 0.7812 MB / 0.5105 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.0003865/0.4466, allocations: 359.3 kB / 0.8467 GB, free: 388 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4466, allocations: 12.03 kB / 0.8467 GB, free: 376 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.4466, allocations: 4.938 kB / 0.8467 GB, free: 372 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.4468, allocations: 176.2 kB / 0.8468 GB, free: 156 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4468, allocations: 384 / 0.8468 GB, free: 156 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.4468, allocations: 384 / 0.8468 GB, free: 156 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.447, allocations: 54.22 kB / 0.8469 GB, free: 96 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.447, allocations: 192 / 0.8469 GB, free: 96 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.447, allocations: 3.938 kB / 0.8469 GB, free: 92 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.447, allocations: 0 / 0.8469 GB, free: 92 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.351e-05/0.4471, allocations: 27.98 kB / 0.8469 GB, free: 64 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.4476, allocations: 256.9 kB / 0.8472 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.773e-05/0.4477, allocations: 30.52 kB / 0.8472 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.6e-05/0.4477, allocations: 20.91 kB / 0.8472 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006487/0.4484, allocations: 469.5 kB / 0.8477 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.4484, allocations: 34.56 kB / 0.8477 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.4484, allocations: 0 / 0.8477 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002376/0.4487, allocations: 77.52 kB / 0.8478 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.4487, allocations: 51.41 kB / 0.8478 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.798e-05/0.4488, allocations: 105.8 kB / 0.8479 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.4488, allocations: 29.83 kB / 0.848 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.4489, allocations: 88.14 kB / 0.848 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.4489, allocations: 3.906 kB / 0.848 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.4489, allocations: 0 / 0.848 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.449, allocations: 326.8 kB / 0.8484 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.4491, allocations: 4 kB / 0.8484 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-05/0.4491, allocations: 11.98 kB / 0.8484 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.857e-05/0.4492, allocations: 36.91 kB / 0.8484 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4492, allocations: 0 / 0.8484 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000128/0.4494, allocations: 65.56 kB / 0.8485 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4494, allocations: 4 kB / 0.8485 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4494, allocations: 0 / 0.8485 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.4494, allocations: 4.031 kB / 0.8485 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.4495, allocations: 7.984 kB / 0.8485 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4495, allocations: 0 / 0.8485 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/0.4495, allocations: 7.938 kB / 0.8485 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.4495, allocations: 0 / 0.8485 GB, free: 14.24 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.591e-05/0.4496, allocations: 113.8 kB / 0.8486 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.4497, allocations: 7.906 kB / 0.8486 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.4498, allocations: 69.14 kB / 0.8487 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4499, allocations: 4 kB / 0.8487 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4499, allocations: 0 / 0.8487 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.4499, allocations: 0 / 0.8487 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.45, allocations: 165.6 kB / 0.8488 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4501, allocations: 0 / 0.8488 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.4501, allocations: 8 kB / 0.8488 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.4501, allocations: 0 / 0.8488 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.4501, allocations: 0 / 0.8488 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4501, allocations: 8.016 kB / 0.8488 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4501, allocations: 4 kB / 0.8489 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.4503, allocations: 151.5 kB / 0.849 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.4504, allocations: 77.11 kB / 0.8491 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.4504, allocations: 0 / 0.8491 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.231e-05/0.4504, allocations: 16.02 kB / 0.8491 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.4505, allocations: 3.938 kB / 0.8491 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.4505, allocations: 0 / 0.8491 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.818e-05/0.4505, allocations: 91.56 kB / 0.8492 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4506, allocations: 0 / 0.8492 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002511/0.4508, allocations: 27.84 kB / 0.8492 GB, free: 13.41 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002007/0.451, allocations: 123.1 kB / 0.8493 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.4512, allocations: 31.98 kB / 0.8493 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4512, allocations: 0 / 0.8493 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.323e-05/0.4512, allocations: 8 kB / 0.8494 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.4514, allocations: 13.31 kB / 0.8494 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.4517, allocations: 140.7 kB / 0.8495 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.4519, allocations: 0.677 MB / 0.8502 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.452, allocations: 4 kB / 0.8502 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.452, allocations: 7.438 kB / 0.8502 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/0.452, allocations: 0 / 0.8502 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of Templates: time 0.002404/0.4544, allocations: 0.6115 MB / 0.8508 GB, free: 11.74 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)