Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7952/0.7952, allocations: 143.4 MB / 158.3 MB, free: 5.766 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.001045/0.001045, allocations: 173.1 kB / 191.5 MB, free: 5.746 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.437/1.437, allocations: 223.2 MB / 447.7 MB, free: 4.723 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.001013/0.001013, allocations: 84.33 kB / 0.5188 GB, free: 1.086 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003039/0.00304, allocations: 258.9 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004604, allocations: 13.5 kB / 0.6929 GB, free: 59.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1969, allocations: 82.8 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.3565, allocations: 108.8 MB / 0.88 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.3568, allocations: 74 kB / 0.8801 GB, free: 0.8203 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4291/0.7859, allocations: 1.145 MB / 0.8812 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.958e-06/0.786, allocations: 0.6562 kB / 0.8812 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.786, allocations: 1.125 kB / 0.8812 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005007/0.7865, allocations: 359.8 kB / 0.8815 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.7866, allocations: 8.875 kB / 0.8815 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008822/0.7875, allocations: 187 kB / 0.8817 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.7876, allocations: 173.9 kB / 0.8819 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.7876, allocations: 8.891 kB / 0.8819 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.7876, allocations: 3.562 kB / 0.8819 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005832/0.7882, allocations: 215.1 kB / 0.8821 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.7882, allocations: 0 / 0.8821 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.7883, allocations: 0 / 0.8821 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.7883, allocations: 3.375 kB / 0.8821 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007514/0.789, allocations: 318.7 kB / 0.8824 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008553/0.7899, allocations: 468.1 kB / 0.8829 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009654/0.7909, allocations: 336.8 kB / 0.8832 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.7909, allocations: 2.516 kB / 0.8832 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.791, allocations: 33.12 kB / 0.8832 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.791, allocations: 0 / 0.8832 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.001059/0.792, allocations: 368.4 kB / 0.8836 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.7921, allocations: 51.41 kB / 0.8836 GB, free: 108 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.7922, allocations: 116.1 kB / 0.8837 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.7922, allocations: 26.36 kB / 0.8838 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.7922, allocations: 95.47 kB / 0.8838 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.7923, allocations: 10.66 kB / 0.8839 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.7923, allocations: 0 / 0.8839 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.7924, allocations: 320.6 kB / 0.8842 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/0.7927, allocations: 111.6 kB / 0.8843 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.793, allocations: 116.6 kB / 0.8844 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.7933, allocations: 102 kB / 0.8845 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7933, allocations: 0 / 0.8845 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006707/0.794, allocations: 255.6 kB / 0.8847 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.794, allocations: 2.969 kB / 0.8847 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.7941, allocations: 3.578 kB / 0.8847 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.7941, allocations: 3.891 kB / 0.8847 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.7943, allocations: 43.98 kB / 0.8848 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.7943, allocations: 0 / 0.8848 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.7945, allocations: 40.09 kB / 0.8848 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.7945, allocations: 16.31 kB / 0.8848 GB, free: 107.4 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 (3): * Single equations (assignments): 3 * 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 8.226e-05/0.7946, allocations: 112.9 kB / 0.8849 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.7947, allocations: 2.125 kB / 0.8849 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.471e-05/0.7947, allocations: 20.17 kB / 0.885 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7947, allocations: 0 / 0.885 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.7948, allocations: 0.9375 kB / 0.885 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.7948, allocations: 0 / 0.885 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.795, allocations: 212.6 kB / 0.8852 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.795, allocations: 4 kB / 0.8852 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.7952, allocations: 38.31 kB / 0.8852 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.7952, allocations: 2.688 kB / 0.8852 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.7952, allocations: 0 / 0.8852 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.7952, allocations: 1.25 kB / 0.8852 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7952, allocations: 0 / 0.8852 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/0.7959, allocations: 353.5 kB / 0.8855 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.796, allocations: 79.7 kB / 0.8856 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.796, allocations: 3.703 kB / 0.8856 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.7962, allocations: 39.48 kB / 0.8857 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.7963, allocations: 6.062 kB / 0.8857 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.7963, allocations: 0 / 0.8857 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.138e-05/0.7963, allocations: 100.5 kB / 0.8858 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.81e-07/0.7963, allocations: 0 / 0.8858 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002244/0.7966, allocations: 25.41 kB / 0.8858 GB, free: 106.8 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 (3): * Single equations (assignments): 3 * 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.0001217/0.7967, allocations: 102.3 kB / 0.8859 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007278/0.7974, allocations: 230.6 kB / 0.8861 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.7974, allocations: 0 / 0.8861 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003733/0.7978, allocations: 117 kB / 0.8862 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.798, allocations: 10.27 kB / 0.8862 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009575/0.799, allocations: 289.5 kB / 0.8865 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.7992, allocations: 0.6948 MB / 0.8872 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.018e-05/0.7993, allocations: 20.73 kB / 0.8872 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.7993, allocations: 12.36 kB / 0.8872 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of SimCode: time 9.82e-07/0.7993, allocations: 0 / 0.8872 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.003595/0.8029, allocations: 0.8104 MB / 0.888 GB, free: 105.8 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1)