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.7491/0.7491, allocations: 128.7 MB / 143.7 MB, free: 2.34 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.001529/0.001529, allocations: 178.1 kB / 173.8 MB, free: 6.117 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.661/1.661, allocations: 205.4 MB / 409 MB, free: 10.5 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.001089/0.001089, allocations: 90.8 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004057, allocations: 12 kB / 0.5604 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1915, allocations: 76.77 MB / 0.6353 GB, free: 30.58 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1559/0.3476, allocations: 103.4 MB / 0.7363 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.3479, allocations: 83.95 kB / 0.7364 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004596/0.3525, allocations: 1.445 MB / 0.7378 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.857e-06/0.3526, allocations: 0 / 0.7378 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.3526, allocations: 0 / 0.7378 GB, free: 5.5 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.0005195/0.3531, allocations: 359.2 kB / 0.7381 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/0.3532, allocations: 8.031 kB / 0.7381 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.3532, allocations: 7.953 kB / 0.7381 GB, free: 5.086 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.3534, allocations: 163 kB / 0.7383 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3534, allocations: 4 kB / 0.7383 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.3534, allocations: 4 kB / 0.7383 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3536, allocations: 41.67 kB / 0.7384 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3536, allocations: 3.938 kB / 0.7384 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.3537, allocations: 8 kB / 0.7384 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.3537, allocations: 4 kB / 0.7384 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.3538, allocations: 19.94 kB / 0.7384 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006068/0.3544, allocations: 249 kB / 0.7386 GB, free: 4.504 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.3546, allocations: 38.56 kB / 0.7387 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009298/0.3555, allocations: 465.5 kB / 0.7391 GB, free: 3.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/0.3556, allocations: 38.5 kB / 0.7391 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 2.294e-06/0.3556, allocations: 0 / 0.7391 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0003588/0.356, allocations: 69.62 kB / 0.7392 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.356, allocations: 55.34 kB / 0.7393 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.3562, allocations: 105 kB / 0.7394 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.3562, allocations: 37.83 kB / 0.7394 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.549e-05/0.3563, allocations: 84.12 kB / 0.7395 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.3564, allocations: 3.906 kB / 0.7395 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.3564, allocations: 4 kB / 0.7395 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.3566, allocations: 322.8 kB / 0.7398 GB, free: 3.152 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.501e-05/0.3567, allocations: 4 kB / 0.7398 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.5e-05/0.3567, allocations: 15.98 kB / 0.7398 GB, free: 3.133 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.047e-05/0.3568, allocations: 16 kB / 0.7398 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3568, allocations: 0 / 0.7398 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001903/0.357, allocations: 69.58 kB / 0.7399 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.357, allocations: 4 kB / 0.7399 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.357, allocations: 0 / 0.7399 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.3571, allocations: 0 / 0.7399 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.3572, allocations: 8.031 kB / 0.7399 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.3572, allocations: 7.953 kB / 0.7399 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.3573, allocations: 7.922 kB / 0.7399 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3573, allocations: 0 / 0.7399 GB, free: 3.016 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 () * 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 0.0001286/0.3574, allocations: 109.8 kB / 0.74 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.3575, allocations: 0 / 0.74 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.3577, allocations: 73.14 kB / 0.7401 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.3578, allocations: 4 kB / 0.7401 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3578, allocations: 0 / 0.7401 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.3578, allocations: 3.953 kB / 0.7401 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.3581, allocations: 161.6 kB / 0.7403 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3581, allocations: 0 / 0.7403 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.055e-05/0.3581, allocations: 8 kB / 0.7403 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3581, allocations: 0 / 0.7403 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.3582, allocations: 0 / 0.7403 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3582, allocations: 0 / 0.7403 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3582, allocations: 4.031 kB / 0.7403 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.3585, allocations: 167.3 kB / 0.7404 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.367e-05/0.3586, allocations: 81.11 kB / 0.7405 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3586, allocations: 0 / 0.7405 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.3587, allocations: 4 kB / 0.7405 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.3587, allocations: 11.95 kB / 0.7405 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.3587, allocations: 0 / 0.7405 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.587e-05/0.3588, allocations: 87.28 kB / 0.7406 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3588, allocations: 0 / 0.7406 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000291/0.3591, allocations: 19.98 kB / 0.7406 GB, free: 2.191 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 () * 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.0003382/0.3595, allocations: 119 kB / 0.7407 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.3597, allocations: 34.08 kB / 0.7408 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3597, allocations: 0 / 0.7408 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.295e-05/0.3597, allocations: 15.92 kB / 0.7408 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.3599, allocations: 3.953 kB / 0.7408 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.3603, allocations: 132.8 kB / 0.7409 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.3607, allocations: 0.6926 MB / 0.7416 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.254e-05/0.3608, allocations: 4 kB / 0.7416 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.3608, allocations: 7.438 kB / 0.7416 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of SimCode: time 8.51e-07/0.3608, allocations: 0 / 0.7416 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of Templates: time 0.00383/0.3646, allocations: 0.6137 MB / 0.7422 GB, free: 0.5195 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)