Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8826/0.8826, allocations: 141.8 MB / 149.3 MB, free: 9.25 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 179.8 kB / 182.2 MB, free: 9.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009305/0.0009304, allocations: 96.03 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001811/0.00181, allocations: 278.8 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.7e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3654, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.4981, allocations: 108.7 MB / 0.8635 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.4983, allocations: 75.84 kB / 0.8636 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004183/0.5025, allocations: 1.412 MB / 0.8649 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5026, allocations: 0 / 0.8649 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.5026, allocations: 4 kB / 0.8649 GB, free: 1.75 MB / 0.5261 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.0003141/0.5029, allocations: 342.4 kB / 0.8653 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.503, allocations: 12.02 kB / 0.8653 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.503, allocations: 3.906 kB / 0.8653 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.5031, allocations: 167.1 kB / 0.8654 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.5032, allocations: 3.953 kB / 0.8654 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.5032, allocations: 0 / 0.8654 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.309e-05/0.5033, allocations: 19.88 kB / 0.8655 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.425e-05/0.5033, allocations: 37.69 kB / 0.8655 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.5034, allocations: 0 / 0.8655 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.5034, allocations: 4 kB / 0.8655 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.5034, allocations: 4 kB / 0.8655 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.5038, allocations: 233.4 kB / 0.8657 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.05e-05/0.5039, allocations: 26.58 kB / 0.8657 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.5039, allocations: 8.922 kB / 0.8658 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006863/0.5046, allocations: 473.4 kB / 0.8662 GB, free: 216 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.5046, allocations: 30.56 kB / 0.8662 GB, free: 176 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.694e-06/0.5046, allocations: 4 kB / 0.8662 GB, free: 172 kB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.003444/0.5081, allocations: 0.5479 MB / 0.8668 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.5081, allocations: 51.41 kB / 0.8668 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.292e-05/0.5082, allocations: 105 kB / 0.8669 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.5082, allocations: 25.7 kB / 0.8669 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.5083, allocations: 88.12 kB / 0.867 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.5083, allocations: 7.906 kB / 0.867 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.5083, allocations: 0 / 0.867 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5085, allocations: 310.8 kB / 0.8673 GB, free: 15 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.5085, allocations: 4 kB / 0.8673 GB, free: 15 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.602e-05/0.5085, allocations: 8 kB / 0.8673 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003238/0.5118, allocations: 0.5074 MB / 0.8678 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.5118, allocations: 0 / 0.8678 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.003287/0.5151, allocations: 0.5596 MB / 0.8684 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.5151, allocations: 4 kB / 0.8684 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.5151, allocations: 3.984 kB / 0.8684 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5151, allocations: 0 / 0.8684 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.627e-05/0.5152, allocations: 11.98 kB / 0.8684 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.5153, allocations: 3.938 kB / 0.8684 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.5153, allocations: 4.031 kB / 0.8684 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.5153, allocations: 4 kB / 0.8684 GB, free: 13.88 MB / 0.5417 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 7.265e-05/0.5154, allocations: 101.8 kB / 0.8685 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.5154, allocations: 7.859 kB / 0.8685 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003385/0.5188, allocations: 0.5596 MB / 0.8691 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5188, allocations: 0 / 0.8691 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.5189, allocations: 3.984 kB / 0.8691 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5189, allocations: 3.938 kB / 0.8691 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.519, allocations: 134.2 kB / 0.8692 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.519, allocations: 4 kB / 0.8692 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.094e-05/0.5191, allocations: 11.98 kB / 0.8692 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5191, allocations: 0 / 0.8692 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5191, allocations: 3.953 kB / 0.8692 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5191, allocations: 4.031 kB / 0.8692 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5192, allocations: 0 / 0.8692 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/0.5225, allocations: 0.6436 MB / 0.8699 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.5226, allocations: 77.11 kB / 0.8699 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.5226, allocations: 0 / 0.8699 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.5227, allocations: 7.953 kB / 0.8699 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.5227, allocations: 0 / 0.8699 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.5227, allocations: 7.984 kB / 0.8699 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.69e-05/0.5228, allocations: 83.28 kB / 0.87 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5228, allocations: 3.938 kB / 0.87 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000257/0.5231, allocations: 23.84 kB / 0.8701 GB, free: 12.12 MB / 0.5417 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.0001968/0.5233, allocations: 123.2 kB / 0.8702 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.857e-05/0.5233, allocations: 16 kB / 0.8702 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5234, allocations: 0 / 0.8702 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.066e-05/0.5234, allocations: 8 kB / 0.8702 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.5235, allocations: 0 / 0.8702 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002153/0.5238, allocations: 63.94 kB / 0.8703 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.524, allocations: 0.6886 MB / 0.8709 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.06e-05/0.5241, allocations: 3.75 kB / 0.8709 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.5241, allocations: 15.38 kB / 0.8709 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.5241, allocations: 3.938 kB / 0.871 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of Templates: time 0.002439/0.5265, allocations: 0.5836 MB / 0.8715 GB, free: 10.57 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)