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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.831/0.831, allocations: 143.3 MB / 158.3 MB, free: 5.762 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.0011/0.001099, allocations: 183.4 kB / 191.5 MB, free: 5.75 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.456/1.456, allocations: 223.2 MB / 447.7 MB, free: 4.773 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.001228/0.001228, allocations: 84.33 kB / 0.5187 GB, free: 1.137 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001663/0.001663, allocations: 273.2 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.00047, allocations: 13.72 kB / 0.6929 GB, free: 59.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1929, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.3562, allocations: 109.4 MB / 0.8806 GB, free: 200 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.3564, allocations: 75.95 kB / 0.8807 GB, free: 124 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4123/0.7687, allocations: 1.418 MB / 0.8821 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7688, allocations: 0 / 0.8821 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.7688, allocations: 4 kB / 0.8821 GB, free: 109.1 MB / 0.5417 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.0003838/0.7692, allocations: 362.9 kB / 0.8824 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.7692, allocations: 10.34 kB / 0.8824 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.7693, allocations: 33.8 kB / 0.8825 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.7693, allocations: 3.094 kB / 0.8825 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.7695, allocations: 175.4 kB / 0.8826 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.7695, allocations: 7.234 kB / 0.8826 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.7695, allocations: 1.188 kB / 0.8826 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.7697, allocations: 50.2 kB / 0.8827 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.7697, allocations: 2.688 kB / 0.8827 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.7697, allocations: 0 / 0.8827 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.7698, allocations: 0 / 0.8827 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.7699, allocations: 20.73 kB / 0.8827 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.7702, allocations: 258.9 kB / 0.883 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.665e-05/0.7703, allocations: 34.92 kB / 0.883 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005673/0.7709, allocations: 469.3 kB / 0.8834 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.7709, allocations: 33.84 kB / 0.8835 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.7709, allocations: 0 / 0.8835 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002361/0.7712, allocations: 66.78 kB / 0.8835 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.7712, allocations: 59.34 kB / 0.8836 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.646e-05/0.7713, allocations: 100.2 kB / 0.8837 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.784e-06/0.7713, allocations: 25.7 kB / 0.8837 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.7713, allocations: 88.78 kB / 0.8838 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.7713, allocations: 6.781 kB / 0.8838 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.7713, allocations: 3.938 kB / 0.8838 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/0.7714, allocations: 320.7 kB / 0.8841 GB, free: 107 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.143e-05/0.7715, allocations: 15.19 kB / 0.8841 GB, free: 107 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.7715, allocations: 11.27 kB / 0.8841 GB, free: 107 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.7715, allocations: 11.75 kB / 0.8841 GB, free: 107 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7716, allocations: 2.078 kB / 0.8841 GB, free: 107 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001145/0.7717, allocations: 60.03 kB / 0.8842 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.7717, allocations: 9.625 kB / 0.8842 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.7717, allocations: 0 / 0.8842 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.7717, allocations: 0 / 0.8842 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.7718, allocations: 12.59 kB / 0.8842 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.7718, allocations: 0 / 0.8842 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.7718, allocations: 6.062 kB / 0.8842 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.7719, allocations: 1.359 kB / 0.8842 GB, free: 106.9 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 () * 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 6.672e-05/0.7719, allocations: 112.8 kB / 0.8843 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.772, allocations: 9.766 kB / 0.8843 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.7721, allocations: 64.3 kB / 0.8844 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.7721, allocations: 0 / 0.8844 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.7722, allocations: 2.938 kB / 0.8844 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7722, allocations: 0 / 0.8844 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.7723, allocations: 161.4 kB / 0.8846 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7723, allocations: 0 / 0.8846 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.301e-05/0.7723, allocations: 13.56 kB / 0.8846 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.7724, allocations: 0 / 0.8846 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.7724, allocations: 5.125 kB / 0.8846 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7724, allocations: 3.938 kB / 0.8846 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7724, allocations: 0 / 0.8846 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.7725, allocations: 155 kB / 0.8847 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.7726, allocations: 88.09 kB / 0.8848 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.7726, allocations: 0 / 0.8848 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.851e-05/0.7726, allocations: 4.125 kB / 0.8848 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.7727, allocations: 3.141 kB / 0.8848 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.7727, allocations: 2.625 kB / 0.8848 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.089e-05/0.7727, allocations: 87.69 kB / 0.8849 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.7727, allocations: 0 / 0.8849 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002275/0.773, allocations: 26.31 kB / 0.8849 GB, free: 106.3 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 () * 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.0003906/0.7733, allocations: 0.7121 MB / 0.8856 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.7735, allocations: 31.36 kB / 0.8857 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7735, allocations: 0 / 0.8857 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.7735, allocations: 15.84 kB / 0.8857 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.7737, allocations: 9.906 kB / 0.8857 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.7741, allocations: 182 kB / 0.8859 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.7742, allocations: 0.6866 MB / 0.8865 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.435e-05/0.7743, allocations: 2.719 kB / 0.8865 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.7743, allocations: 10.44 kB / 0.8865 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.7743, allocations: 1.344 kB / 0.8865 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.788, allocations: 1.365 MB / 0.8879 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.7882, allocations: 180.2 kB / 0.888 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.404, allocations: 0 / 0.888 GB, free: 104.3 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)