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.8063/0.8063, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001321, allocations: 179.6 kB / 187.3 MB, free: 11.89 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.53/1.53, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0009493/0.0009491, allocations: 89.67 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002924/0.002924, allocations: 267.6 kB / 0.5939 GB, free: 8.004 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.528e-05/3.531e-05, allocations: 8 kB / 0.6834 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4387, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.5552, allocations: 108.8 MB / 0.8705 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.5555, allocations: 75.78 kB / 0.8706 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003239/0.5588, allocations: 1.161 MB / 0.8717 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.707e-06/0.5588, allocations: 3.938 kB / 0.8717 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.5588, allocations: 0 / 0.8717 GB, free: 14.6 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.0003502/0.5592, allocations: 345.7 kB / 0.872 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5592, allocations: 8.031 kB / 0.872 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008193/0.56, allocations: 195.6 kB / 0.8722 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.5602, allocations: 159.1 kB / 0.8724 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.5602, allocations: 7.953 kB / 0.8724 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.5602, allocations: 8 kB / 0.8724 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.5605, allocations: 109.6 kB / 0.8725 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.5605, allocations: 0 / 0.8725 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.5605, allocations: 0 / 0.8725 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5605, allocations: 0 / 0.8725 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.5607, allocations: 123.8 kB / 0.8726 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009148/0.5616, allocations: 469.1 kB / 0.8731 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.562, allocations: 162.4 kB / 0.8732 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.563e-05/0.5621, allocations: 44.98 kB / 0.8733 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.5621, allocations: 4 kB / 0.8733 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.5622, allocations: 38.5 kB / 0.8733 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.5622, allocations: 0 / 0.8733 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0002578/0.5624, allocations: 109.5 kB / 0.8734 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.5625, allocations: 67.34 kB / 0.8735 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.5626, allocations: 105.2 kB / 0.8736 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.5626, allocations: 25.7 kB / 0.8736 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.5627, allocations: 92.12 kB / 0.8737 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.5627, allocations: 7.844 kB / 0.8737 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.5627, allocations: 3.938 kB / 0.8737 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5629, allocations: 318.8 kB / 0.874 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.166e-05/0.5629, allocations: 39.97 kB / 0.874 GB, free: 12 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-05/0.563, allocations: 47.97 kB / 0.8741 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.996e-05/0.5631, allocations: 35.97 kB / 0.8741 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5631, allocations: 0 / 0.8741 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001746/0.5633, allocations: 105.5 kB / 0.8742 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.5633, allocations: 8 kB / 0.8742 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.5633, allocations: 0 / 0.8742 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.5633, allocations: 0 / 0.8742 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.5636, allocations: 47.94 kB / 0.8743 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.5636, allocations: 0 / 0.8743 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.5638, allocations: 43.84 kB / 0.8743 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.5638, allocations: 4 kB / 0.8743 GB, free: 11.71 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 (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.177e-05/0.5639, allocations: 108.9 kB / 0.8744 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.564, allocations: 11.91 kB / 0.8744 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/0.564, allocations: 12.02 kB / 0.8744 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.564, allocations: 0 / 0.8744 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.564, allocations: 4 kB / 0.8744 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.564, allocations: 0 / 0.8744 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.5643, allocations: 205.5 kB / 0.8746 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5643, allocations: 0 / 0.8746 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.5645, allocations: 44.33 kB / 0.8747 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.5645, allocations: 0 / 0.8747 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.5645, allocations: 7.984 kB / 0.8747 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5645, allocations: 0 / 0.8747 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5646, allocations: 6.203 kB / 0.8747 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.5648, allocations: 203.5 kB / 0.8749 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.5649, allocations: 85.02 kB / 0.875 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.5649, allocations: 3.984 kB / 0.875 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.5651, allocations: 35.95 kB / 0.875 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.5652, allocations: 3.938 kB / 0.875 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.5652, allocations: 4 kB / 0.875 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.51e-05/0.5652, allocations: 107.2 kB / 0.8751 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5652, allocations: 0 / 0.8751 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002119/0.5655, allocations: 12 kB / 0.8751 GB, free: 10.79 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 (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.0001153/0.5656, allocations: 95.25 kB / 0.8752 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.5658, allocations: 83.94 kB / 0.8753 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.5658, allocations: 4 kB / 0.8753 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.293e-05/0.5659, allocations: 55.89 kB / 0.8754 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.566, allocations: 3.953 kB / 0.8754 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/0.5666, allocations: 180.8 kB / 0.8755 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.567, allocations: 0.6887 MB / 0.8762 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.62e-05/0.5671, allocations: 19.98 kB / 0.8762 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.5671, allocations: 15.42 kB / 0.8762 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.5671, allocations: 0 / 0.8762 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of Templates: time 0.002547/0.5697, allocations: 0.8139 MB / 0.877 GB, free: 8.781 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)