Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009792/0.0009792, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4645/0.4645, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 221.3 MB / 348.3 MB, free: 456 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008706/0.0008706, allocations: 101.6 kB / 421.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.238e-05, allocations: 4 kB / 0.4896 GB, free: 5.359 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3245, allocations: 72.3 MB / 0.5602 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1186/0.4432, allocations: 103.3 MB / 0.6611 GB, free: 1.035 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.4434, allocations: 76.83 kB / 0.6611 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01498/0.4584, allocations: 5.111 MB / 0.6661 GB, free: 11.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4585, allocations: 0 / 0.6661 GB, free: 11.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.4585, allocations: 4 kB / 0.6661 GB, free: 11.85 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007083/0.4592, allocations: 406.1 kB / 0.6665 GB, free: 11.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.4593, allocations: 15.98 kB / 0.6665 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007441/0.4601, allocations: 115.8 kB / 0.6667 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.4602, allocations: 186.8 kB / 0.6668 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.4604, allocations: 63.39 kB / 0.6669 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.4604, allocations: 8 kB / 0.6669 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.4607, allocations: 118.8 kB / 0.667 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.4607, allocations: 0 / 0.667 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.4607, allocations: 4 kB / 0.667 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.4607, allocations: 4 kB / 0.667 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.4609, allocations: 87.83 kB / 0.6671 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.462, allocations: 0.4977 MB / 0.6676 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.4627, allocations: 170.5 kB / 0.6678 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.537e-05/0.4628, allocations: 48.97 kB / 0.6678 GB, free: 9.984 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.4628, allocations: 0 / 0.6678 GB, free: 9.984 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.4628, allocations: 34.5 kB / 0.6678 GB, free: 9.941 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.4628, allocations: 4 kB / 0.6678 GB, free: 9.938 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002908/0.4631, allocations: 109.6 kB / 0.6679 GB, free: 9.824 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.4632, allocations: 51.97 kB / 0.668 GB, free: 9.762 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.4633, allocations: 128.1 kB / 0.6681 GB, free: 9.633 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.4633, allocations: 25.7 kB / 0.6681 GB, free: 9.602 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.4634, allocations: 116.2 kB / 0.6682 GB, free: 9.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.4634, allocations: 23.64 kB / 0.6683 GB, free: 9.457 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.4635, allocations: 4 kB / 0.6683 GB, free: 9.453 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4636, allocations: 321.4 kB / 0.6686 GB, free: 9.133 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.871e-05/0.4637, allocations: 31.98 kB / 0.6686 GB, free: 9.102 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.853e-05/0.4638, allocations: 50.58 kB / 0.6687 GB, free: 9.043 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.028e-05/0.4638, allocations: 31.98 kB / 0.6687 GB, free: 9.012 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4638, allocations: 0 / 0.6687 GB, free: 9.012 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002032/0.4641, allocations: 121.5 kB / 0.6688 GB, free: 8.887 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4641, allocations: 4 kB / 0.6688 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4641, allocations: 0 / 0.6688 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.4641, allocations: 7.953 kB / 0.6688 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.4644, allocations: 55.94 kB / 0.6689 GB, free: 8.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4644, allocations: 4 kB / 0.6689 GB, free: 8.816 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.4646, allocations: 27.97 kB / 0.6689 GB, free: 8.789 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.4646, allocations: 0 / 0.6689 GB, free: 8.789 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.142e-05/0.4647, allocations: 113 kB / 0.669 GB, free: 8.672 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.4648, allocations: 7.906 kB / 0.669 GB, free: 8.664 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.465, allocations: 130.2 kB / 0.6691 GB, free: 8.531 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.465, allocations: 4.062 kB / 0.6691 GB, free: 8.527 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.465, allocations: 7.953 kB / 0.6691 GB, free: 8.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.465, allocations: 0 / 0.6691 GB, free: 8.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.4653, allocations: 230.4 kB / 0.6694 GB, free: 8.246 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4653, allocations: 0 / 0.6694 GB, free: 8.246 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.4655, allocations: 43.95 kB / 0.6694 GB, free: 8.203 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4655, allocations: 0 / 0.6694 GB, free: 8.203 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.4655, allocations: 4 kB / 0.6694 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4656, allocations: 0 / 0.6694 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.4656, allocations: 11.56 kB / 0.6694 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.4658, allocations: 207.4 kB / 0.6696 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.4659, allocations: 89.84 kB / 0.6697 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.4659, allocations: 0 / 0.6697 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.4662, allocations: 39.95 kB / 0.6697 GB, free: 7.828 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.4663, allocations: 11.95 kB / 0.6698 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.4663, allocations: 11.98 kB / 0.6698 GB, free: 7.805 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.173e-05/0.4664, allocations: 106.4 kB / 0.6699 GB, free: 7.703 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4664, allocations: 0 / 0.6699 GB, free: 7.703 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.4666, allocations: 20 kB / 0.6699 GB, free: 7.684 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001255/0.4667, allocations: 96.89 kB / 0.67 GB, free: 7.578 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.4669, allocations: 85.98 kB / 0.6701 GB, free: 7.496 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.467, allocations: 4.125 kB / 0.6701 GB, free: 7.492 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/0.467, allocations: 43.98 kB / 0.6701 GB, free: 7.449 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.4672, allocations: 5.25 kB / 0.6701 GB, free: 7.445 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.4676, allocations: 143.5 kB / 0.6703 GB, free: 7.281 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.4678, allocations: 0.7043 MB / 0.6709 GB, free: 6.551 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.495e-05/0.4679, allocations: 12.19 kB / 0.671 GB, free: 6.535 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/0.468, allocations: 15.42 kB / 0.671 GB, free: 6.52 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.468, allocations: 0 / 0.671 GB, free: 6.52 MB / 490.7 MB Notification: Performance of Templates: time 0.003238/0.4712, allocations: 1.307 MB / 0.6722 GB, free: 5.238 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)