Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5065/0.5065, allocations: 90.91 MB / 99.34 MB, free: 2.164 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 221.5 MB / 343.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008367/0.0008366, allocations: 99.81 kB / 415.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.756e-05/1.758e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1346, allocations: 72.33 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4234/0.5581, allocations: 101.5 MB / 0.6527 GB, free: 8.684 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.5584, allocations: 75.45 kB / 0.6528 GB, free: 8.645 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004013/0.5624, allocations: 1.409 MB / 0.6541 GB, free: 7.418 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.5624, allocations: 0 / 0.6541 GB, free: 7.418 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.5624, allocations: 7.938 kB / 0.6541 GB, free: 7.41 MB / 458.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.0003038/0.5628, allocations: 350.1 kB / 0.6545 GB, free: 7.027 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5628, allocations: 8.031 kB / 0.6545 GB, free: 7.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.5628, allocations: 9.953 kB / 0.6545 GB, free: 7.012 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.563, allocations: 159.1 kB / 0.6546 GB, free: 6.816 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.563, allocations: 4 kB / 0.6546 GB, free: 6.812 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.563, allocations: 0 / 0.6546 GB, free: 6.812 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.561e-05/0.5631, allocations: 7.938 kB / 0.6546 GB, free: 6.809 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.423e-05/0.5632, allocations: 44.8 kB / 0.6547 GB, free: 6.762 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.5632, allocations: 0 / 0.6547 GB, free: 6.762 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.5632, allocations: 0 / 0.6547 GB, free: 6.762 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.5632, allocations: 3.953 kB / 0.6547 GB, free: 6.758 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.5635, allocations: 244.9 kB / 0.6549 GB, free: 6.492 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.433e-05/0.5636, allocations: 26.2 kB / 0.655 GB, free: 6.461 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.308e-05/0.5636, allocations: 11.66 kB / 0.655 GB, free: 6.449 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006053/0.5642, allocations: 468.5 kB / 0.6554 GB, free: 5.902 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.5643, allocations: 34.56 kB / 0.6554 GB, free: 5.859 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.5643, allocations: 3.938 kB / 0.6554 GB, free: 5.855 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.003182/0.5675, allocations: 0.5571 MB / 0.656 GB, free: 5.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.5675, allocations: 51.41 kB / 0.656 GB, free: 5.258 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.5676, allocations: 96.75 kB / 0.6561 GB, free: 5.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.5676, allocations: 25.7 kB / 0.6562 GB, free: 5.129 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.5677, allocations: 91.72 kB / 0.6562 GB, free: 5.039 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.5677, allocations: 3.906 kB / 0.6563 GB, free: 5.035 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.5677, allocations: 4 kB / 0.6563 GB, free: 5.031 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.5678, allocations: 314.1 kB / 0.6566 GB, free: 4.719 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.5678, allocations: 4 kB / 0.6566 GB, free: 4.715 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.115e-05/0.5678, allocations: 3.875 kB / 0.6566 GB, free: 4.715 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/0.5708, allocations: 0.5124 MB / 0.6571 GB, free: 4.227 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5708, allocations: 0 / 0.6571 GB, free: 4.227 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.002929/0.5737, allocations: 0.5462 MB / 0.6576 GB, free: 3.703 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.5738, allocations: 9.25 kB / 0.6576 GB, free: 3.695 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5738, allocations: 0 / 0.6576 GB, free: 3.695 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5738, allocations: 0 / 0.6576 GB, free: 3.695 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.717e-05/0.5739, allocations: 7.984 kB / 0.6576 GB, free: 3.688 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.5739, allocations: 3.938 kB / 0.6576 GB, free: 3.684 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.5739, allocations: 11.86 kB / 0.6576 GB, free: 3.672 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.574, allocations: 0 / 0.6576 GB, free: 3.672 MB / 458.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 () * 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.681e-05/0.5741, allocations: 105 kB / 0.6577 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.5741, allocations: 11.27 kB / 0.6577 GB, free: 3.559 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002981/0.5771, allocations: 0.5477 MB / 0.6583 GB, free: 3.039 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5771, allocations: 8.016 kB / 0.6583 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5771, allocations: 0 / 0.6583 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5771, allocations: 0 / 0.6583 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.5772, allocations: 141 kB / 0.6584 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5772, allocations: 0 / 0.6584 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.5773, allocations: 7.984 kB / 0.6584 GB, free: 2.852 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5773, allocations: 0 / 0.6584 GB, free: 2.852 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.5773, allocations: 4 kB / 0.6584 GB, free: 2.848 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5773, allocations: 0 / 0.6584 GB, free: 2.848 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5773, allocations: 0 / 0.6584 GB, free: 2.848 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/0.5804, allocations: 0.6501 MB / 0.6591 GB, free: 2.211 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.5804, allocations: 84.55 kB / 0.6591 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.5804, allocations: 4.031 kB / 0.6591 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.552e-05/0.5805, allocations: 0 / 0.6591 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.5805, allocations: 7.984 kB / 0.6592 GB, free: 2.102 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.5805, allocations: 0 / 0.6592 GB, free: 2.102 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.072e-05/0.5806, allocations: 82.66 kB / 0.6592 GB, free: 2.023 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5806, allocations: 0 / 0.6592 GB, free: 2.023 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.5808, allocations: 27.88 kB / 0.6593 GB, free: 1.996 MB / 458.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 (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.0001979/0.581, allocations: 123.2 kB / 0.6594 GB, free: 1.863 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.315e-05/0.5811, allocations: 19.06 kB / 0.6594 GB, free: 1.848 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5812, allocations: 0 / 0.6594 GB, free: 1.848 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.881e-05/0.5812, allocations: 7.375 kB / 0.6594 GB, free: 1.844 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.5813, allocations: 3.953 kB / 0.6594 GB, free: 1.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.5816, allocations: 67.5 kB / 0.6595 GB, free: 1.754 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.5818, allocations: 0.6846 MB / 0.6601 GB, free: 1.043 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.646e-05/0.5818, allocations: 128 / 0.6601 GB, free: 1.043 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.5819, allocations: 15.44 kB / 0.6602 GB, free: 1.027 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5819, allocations: 0 / 0.6602 GB, free: 1.027 MB / 458.7 MB Notification: Performance of Templates: time 0.002516/0.5844, allocations: 0.5656 MB / 0.6607 GB, free: 484 kB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)