Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5419/0.5419, allocations: 94.69 MB / 107.3 MB, free: 5.184 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001091/0.001091, allocations: 176.9 kB / 130.7 MB, free: 7.547 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.581/1.581, allocations: 170.5 MB / 324.5 MB, free: 4.012 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001712/0.001713, allocations: 108.9 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.217e-05/6.218e-05, allocations: 4 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4709/0.471, allocations: 61.51 MB / 0.5054 GB, free: 49.41 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.621, allocations: 94.92 MB / 0.5981 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.6213, allocations: 76.86 kB / 0.5981 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006244/0.6276, allocations: 1.946 MB / 0.6 GB, free: 14.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6276, allocations: 0 / 0.6 GB, free: 14.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.6277, allocations: 0 / 0.6 GB, free: 14.7 MB / 426.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.0003889/0.6281, allocations: 363.5 kB / 0.6004 GB, free: 14.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.6281, allocations: 8.656 kB / 0.6004 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.6282, allocations: 8.531 kB / 0.6004 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.6283, allocations: 164 kB / 0.6006 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.6283, allocations: 4 kB / 0.6006 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.6284, allocations: 4.469 kB / 0.6006 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.6285, allocations: 41.64 kB / 0.6006 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.6285, allocations: 0 / 0.6006 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.6285, allocations: 0.7188 kB / 0.6006 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.6285, allocations: 4 kB / 0.6006 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.022e-05/0.6286, allocations: 12.97 kB / 0.6006 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.629, allocations: 260.9 kB / 0.6009 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.067e-05/0.6291, allocations: 33.12 kB / 0.6009 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.6291, allocations: 8.922 kB / 0.6009 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.6303, allocations: 1.353 MB / 0.6022 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.6303, allocations: 31.81 kB / 0.6023 GB, free: 11.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 2.594e-06/0.6303, allocations: 0 / 0.6023 GB, free: 11.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001912/0.6305, allocations: 58.88 kB / 0.6023 GB, free: 11.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.6305, allocations: 51.41 kB / 0.6024 GB, free: 11.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.6306, allocations: 104.8 kB / 0.6025 GB, free: 11.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.6307, allocations: 26.36 kB / 0.6025 GB, free: 11.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.6307, allocations: 86.94 kB / 0.6026 GB, free: 11.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.6308, allocations: 11.91 kB / 0.6026 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.6308, allocations: 0 / 0.6026 GB, free: 11.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6309, allocations: 310.8 kB / 0.6029 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.631, allocations: 8 kB / 0.6029 GB, free: 11.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.478e-05/0.631, allocations: 4 kB / 0.6029 GB, free: 11.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.672e-05/0.631, allocations: 9.922 kB / 0.6029 GB, free: 11.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.631, allocations: 4 kB / 0.6029 GB, free: 11.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.796e-05/0.6311, allocations: 52.44 kB / 0.603 GB, free: 11.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.6311, allocations: 4 kB / 0.603 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.6312, allocations: 0.875 kB / 0.603 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.6312, allocations: 0 / 0.603 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.386e-05/0.6313, allocations: 11.61 kB / 0.603 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.6313, allocations: 0 / 0.603 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.6313, allocations: 4 kB / 0.603 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.6313, allocations: 0 / 0.603 GB, free: 11.2 MB / 426.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.211e-05/0.6314, allocations: 108.8 kB / 0.6031 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.6314, allocations: 7.859 kB / 0.6031 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.6316, allocations: 63.33 kB / 0.6032 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.6316, allocations: 3.984 kB / 0.6032 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.6316, allocations: 0.9375 kB / 0.6032 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6316, allocations: 1.5 kB / 0.6032 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.6318, allocations: 161.2 kB / 0.6033 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6318, allocations: 0 / 0.6033 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-05/0.6319, allocations: 7.984 kB / 0.6033 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6319, allocations: 7.953 kB / 0.6033 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.6319, allocations: 0 / 0.6033 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.6319, allocations: 4.625 kB / 0.6033 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6319, allocations: 1.688 kB / 0.6033 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.632, allocations: 143.7 kB / 0.6035 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.6321, allocations: 85.02 kB / 0.6036 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.6321, allocations: 3.953 kB / 0.6036 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.205e-05/0.6322, allocations: 7.922 kB / 0.6036 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.6323, allocations: 4 kB / 0.6036 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.6323, allocations: 3.938 kB / 0.6036 GB, free: 10.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.319e-05/0.6323, allocations: 88.5 kB / 0.6037 GB, free: 10.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6323, allocations: 0 / 0.6037 GB, free: 10.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.6326, allocations: 31.92 kB / 0.6037 GB, free: 10.4 MB / 426.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.0001944/0.6328, allocations: 127.2 kB / 0.6038 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.6329, allocations: 16 kB / 0.6038 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.6329, allocations: 0 / 0.6038 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.6329, allocations: 7.938 kB / 0.6038 GB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.6331, allocations: 1.875 kB / 0.6038 GB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.6333, allocations: 69.58 kB / 0.6039 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.6336, allocations: 0.685 MB / 0.6046 GB, free: 9.449 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.933e-05/0.6337, allocations: 7.984 kB / 0.6046 GB, free: 9.441 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.6337, allocations: 7.438 kB / 0.6046 GB, free: 9.438 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6337, allocations: 1.969 kB / 0.6046 GB, free: 9.438 MB / 426.7 MB Notification: Performance of Templates: time 0.00272/0.6364, allocations: 0.5829 MB / 0.6052 GB, free: 8.879 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)