Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.615/1.615, allocations: 289.7 MB / 302.2 MB, free: 2.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001459, allocations: 183.3 kB / 371.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 94.59 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.717e-05/3.72e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3001, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9775/1.278, allocations: 139.7 MB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/1.278, allocations: 76.38 kB / 1.116 GB, free: 44.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003999/1.282, allocations: 1.382 MB / 1.118 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.803e-06/1.282, allocations: 0 / 1.118 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.576e-06/1.282, allocations: 0.875 kB / 1.118 GB, free: 43.18 MB / 0.7448 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.0003113/1.282, allocations: 346.4 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/1.282, allocations: 12.03 kB / 1.118 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/1.282, allocations: 2.375 kB / 1.118 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/1.283, allocations: 165.4 kB / 1.118 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/1.283, allocations: 7.828 kB / 1.118 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/1.283, allocations: 3.938 kB / 1.118 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/1.283, allocations: 42.28 kB / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/1.283, allocations: 0 / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/1.283, allocations: 0 / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/1.283, allocations: 2.562 kB / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.134e-05/1.283, allocations: 11.5 kB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/1.283, allocations: 250.1 kB / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.277e-05/1.283, allocations: 40.67 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/1.283, allocations: 12.3 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005588/1.284, allocations: 465.7 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/1.284, allocations: 34.56 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/1.284, allocations: 0 / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001623/1.284, allocations: 49.92 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/1.284, allocations: 55.41 kB / 1.119 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.943e-05/1.284, allocations: 98.78 kB / 1.119 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/1.284, allocations: 25.7 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/1.284, allocations: 90.83 kB / 1.119 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/1.284, allocations: 15.78 kB / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/1.284, allocations: 0.6562 kB / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.658e-05/1.284, allocations: 318 kB / 1.12 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/1.284, allocations: 4 kB / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/1.284, allocations: 6.812 kB / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.378e-05/1.284, allocations: 10.66 kB / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.284, allocations: 0 / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.114e-05/1.285, allocations: 44.89 kB / 1.12 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.285, allocations: 9.125 kB / 1.12 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.285, allocations: 0 / 1.12 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/1.285, allocations: 0 / 1.12 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.096e-05/1.285, allocations: 5.188 kB / 1.12 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/1.285, allocations: 0 / 1.12 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.042e-05/1.285, allocations: 7.281 kB / 1.12 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/1.285, allocations: 0 / 1.12 GB, free: 40.94 MB / 0.7448 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 5.698e-05/1.285, allocations: 114.5 kB / 1.12 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/1.285, allocations: 8.594 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/1.285, allocations: 52.03 kB / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/1.285, allocations: 0 / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.285, allocations: 0 / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.285, allocations: 0.5 kB / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/1.285, allocations: 173.2 kB / 1.12 GB, free: 40.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.285, allocations: 0 / 1.12 GB, free: 40.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/1.285, allocations: 9.031 kB / 1.12 GB, free: 40.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/1.285, allocations: 0 / 1.12 GB, free: 40.56 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/1.285, allocations: 8.031 kB / 1.12 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/1.285, allocations: 0 / 1.12 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.285, allocations: 0.75 kB / 1.12 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.97e-05/1.285, allocations: 146.3 kB / 1.12 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/1.285, allocations: 77.11 kB / 1.12 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/1.285, allocations: 7.375 kB / 1.12 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/1.286, allocations: 3.25 kB / 1.12 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/1.286, allocations: 8.031 kB / 1.12 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/1.286, allocations: 1.938 kB / 1.12 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.469e-05/1.286, allocations: 86.7 kB / 1.12 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.286, allocations: 4 kB / 1.12 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002935/1.286, allocations: 23.84 kB / 1.12 GB, free: 40.19 MB / 0.7448 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.0001799/1.286, allocations: 114.8 kB / 1.12 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.823e-05/1.286, allocations: 15.06 kB / 1.12 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.286, allocations: 4.906 kB / 1.12 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/1.286, allocations: 10.75 kB / 1.12 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/1.286, allocations: 7.703 kB / 1.12 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/1.287, allocations: 70.08 kB / 1.121 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/1.287, allocations: 0.6835 MB / 1.121 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.831e-05/1.287, allocations: 0.5156 kB / 1.121 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/1.287, allocations: 7.438 kB / 1.121 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/1.287, allocations: 4 kB / 1.121 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of Templates: time 0.002796/1.29, allocations: 0.5957 MB / 1.122 GB, free: 38.92 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)