Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7291/0.7291, allocations: 127.4 MB / 134.9 MB, free: 3.449 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 176.9 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.2 MB / 399.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008868/0.0008866, allocations: 89.59 kB / 476.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.67e-05/1.672e-05, allocations: 5.188 kB / 0.5466 GB, free: 95.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1286, allocations: 76.76 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.2464, allocations: 102.7 MB / 0.7218 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.2467, allocations: 75.95 kB / 0.7219 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004143/0.2508, allocations: 1.422 MB / 0.7232 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2508, allocations: 0 / 0.7232 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.882e-06/0.2509, allocations: 4 kB / 0.7232 GB, free: 2.82 MB / 0.4948 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.0003084/0.2512, allocations: 342.4 kB / 0.7236 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2512, allocations: 8.031 kB / 0.7236 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.2513, allocations: 7.953 kB / 0.7236 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.2514, allocations: 170.9 kB / 0.7237 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2514, allocations: 0 / 0.7237 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-06/0.2514, allocations: 4 kB / 0.7238 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.556e-05/0.2515, allocations: 12 kB / 0.7238 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.142e-05/0.2516, allocations: 41.67 kB / 0.7238 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.2516, allocations: 0 / 0.7238 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.2516, allocations: 0 / 0.7238 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.2516, allocations: 3.953 kB / 0.7238 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.2519, allocations: 233.5 kB / 0.724 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.105e-05/0.252, allocations: 26.58 kB / 0.7241 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/0.252, allocations: 12.92 kB / 0.7241 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006519/0.2527, allocations: 465.5 kB / 0.7245 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.2527, allocations: 34.56 kB / 0.7245 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.2527, allocations: 0 / 0.7245 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.003264/0.256, allocations: 0.5558 MB / 0.7251 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.256, allocations: 55.36 kB / 0.7251 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.2561, allocations: 101 kB / 0.7252 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.2562, allocations: 29.64 kB / 0.7253 GB, free: 488 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.2562, allocations: 88.03 kB / 0.7253 GB, free: 396 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.2562, allocations: 8 kB / 0.7254 GB, free: 388 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.2563, allocations: 0 / 0.7254 GB, free: 388 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2564, allocations: 310.8 kB / 0.7257 GB, free: 68 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.2564, allocations: 12.03 kB / 0.7257 GB, free: 56 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.2564, allocations: 0 / 0.7257 GB, free: 56 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/0.2595, allocations: 0.5113 MB / 0.7262 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2595, allocations: 4 kB / 0.7262 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.003083/0.2626, allocations: 0.5479 MB / 0.7267 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.2626, allocations: 9.719 kB / 0.7267 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.2627, allocations: 0 / 0.7267 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2627, allocations: 0 / 0.7267 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.2628, allocations: 12.02 kB / 0.7267 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2628, allocations: 3.938 kB / 0.7267 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.864e-05/0.2628, allocations: 7.953 kB / 0.7267 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.2628, allocations: 0 / 0.7267 GB, free: 14.95 MB / 0.5105 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 () * 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 6.355e-05/0.2629, allocations: 105 kB / 0.7268 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.2629, allocations: 0 / 0.7268 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003179/0.2661, allocations: 0.5558 MB / 0.7274 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2661, allocations: 3.984 kB / 0.7274 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2661, allocations: 4 kB / 0.7274 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.2662, allocations: 4 kB / 0.7274 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.2663, allocations: 138.2 kB / 0.7275 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2663, allocations: 0 / 0.7275 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.823e-05/0.2664, allocations: 12.02 kB / 0.7275 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.2664, allocations: 4 kB / 0.7275 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.2664, allocations: 0 / 0.7275 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2664, allocations: 0 / 0.7275 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2664, allocations: 0 / 0.7275 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003135/0.2695, allocations: 0.6512 MB / 0.7282 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.2696, allocations: 77.11 kB / 0.7282 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.2696, allocations: 0 / 0.7282 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.325e-05/0.2697, allocations: 6.156 kB / 0.7283 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.2697, allocations: 3.984 kB / 0.7283 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.2697, allocations: 0 / 0.7283 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.397e-05/0.2698, allocations: 91.31 kB / 0.7283 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2698, allocations: 0 / 0.7283 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002434/0.27, allocations: 23.94 kB / 0.7284 GB, free: 13.2 MB / 0.5105 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 () * 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.000183/0.2702, allocations: 119.2 kB / 0.7285 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.428e-05/0.2703, allocations: 15.94 kB / 0.7285 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2703, allocations: 0 / 0.7285 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.958e-05/0.2704, allocations: 11.94 kB / 0.7285 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.2705, allocations: 12.08 kB / 0.7285 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.2707, allocations: 66.75 kB / 0.7286 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.271, allocations: 0.6846 MB / 0.7292 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.271, allocations: 4 kB / 0.7293 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.271, allocations: 7.438 kB / 0.7293 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.271, allocations: 0 / 0.7293 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.002489/0.2735, allocations: 0.6025 MB / 0.7298 GB, free: 11.62 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)