Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009405/0.0009405, allocations: 184.1 kB / 15.76 MB, free: 6.348 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6196/0.6196, allocations: 91.99 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.2 MB / 354.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009444/0.0009444, allocations: 100.1 kB / 427.4 MB, free: 3.914 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003794, allocations: 19.98 kB / 0.4982 GB, free: 42.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.167, allocations: 72.31 MB / 0.5689 GB, free: 1.887 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5412/0.7083, allocations: 101.7 MB / 0.6682 GB, free: 2.711 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.7087, allocations: 71.95 kB / 0.6683 GB, free: 2.641 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003871/0.7125, allocations: 1.161 MB / 0.6694 GB, free: 1.492 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.847e-06/0.7126, allocations: 4 kB / 0.6694 GB, free: 1.488 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.7126, allocations: 0 / 0.6694 GB, free: 1.488 MB / 458.7 MB 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.0004734/0.7131, allocations: 351.9 kB / 0.6697 GB, free: 1.098 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.7131, allocations: 16.02 kB / 0.6698 GB, free: 1.082 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008933/0.714, allocations: 195.6 kB / 0.6699 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.7142, allocations: 167 kB / 0.6701 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.7142, allocations: 4 kB / 0.6701 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.7142, allocations: 4 kB / 0.6701 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006189/0.7149, allocations: 209.5 kB / 0.6703 GB, free: 480 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.7149, allocations: 3.938 kB / 0.6703 GB, free: 476 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.7149, allocations: 0 / 0.6703 GB, free: 476 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.7149, allocations: 0 / 0.6703 GB, free: 476 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008732/0.7158, allocations: 325.8 kB / 0.6706 GB, free: 152 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.7169, allocations: 458.7 kB / 0.6711 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.7181, allocations: 342.1 kB / 0.6714 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.7181, allocations: 4 kB / 0.6714 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.7181, allocations: 30.56 kB / 0.6714 GB, free: 15.26 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.7181, allocations: 0 / 0.6714 GB, free: 15.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.001206/0.7194, allocations: 365.4 kB / 0.6718 GB, free: 14.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.7194, allocations: 59.39 kB / 0.6718 GB, free: 14.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.7196, allocations: 117.1 kB / 0.6719 GB, free: 14.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.7196, allocations: 25.7 kB / 0.672 GB, free: 14.67 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.7197, allocations: 88.12 kB / 0.672 GB, free: 14.58 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.7197, allocations: 11.84 kB / 0.6721 GB, free: 14.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-06/0.7197, allocations: 0 / 0.6721 GB, free: 14.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.7198, allocations: 318.8 kB / 0.6724 GB, free: 14.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.7202, allocations: 111.9 kB / 0.6725 GB, free: 14.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.7205, allocations: 119.8 kB / 0.6726 GB, free: 14.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.7209, allocations: 103.9 kB / 0.6727 GB, free: 13.92 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7209, allocations: 384 / 0.6727 GB, free: 13.92 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007309/0.7216, allocations: 257.3 kB / 0.6729 GB, free: 13.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.7217, allocations: 4 kB / 0.6729 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.7217, allocations: 0 / 0.6729 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.7217, allocations: 7.938 kB / 0.6729 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.722, allocations: 51.88 kB / 0.673 GB, free: 13.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.722, allocations: 0 / 0.673 GB, free: 13.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.7222, allocations: 35.95 kB / 0.673 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.7222, allocations: 0 / 0.673 GB, free: 13.57 MB / 474.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 () * 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 0.0001007/0.7223, allocations: 121.8 kB / 0.6731 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.7224, allocations: 11.86 kB / 0.6731 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/0.7224, allocations: 7.906 kB / 0.6732 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.7224, allocations: 0 / 0.6732 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.7225, allocations: 1.641 kB / 0.6732 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.7225, allocations: 0 / 0.6732 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.7227, allocations: 205.6 kB / 0.6733 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.7227, allocations: 0 / 0.6733 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.723, allocations: 47.94 kB / 0.6734 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.723, allocations: 7.938 kB / 0.6734 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.723, allocations: 0 / 0.6734 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.723, allocations: 0 / 0.6734 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.723, allocations: 0 / 0.6734 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007912/0.7238, allocations: 351.2 kB / 0.6737 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.7239, allocations: 92.94 kB / 0.6738 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.7239, allocations: 3.953 kB / 0.6738 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.7242, allocations: 39.95 kB / 0.6739 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.7242, allocations: 0 / 0.6739 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.7242, allocations: 4 kB / 0.6739 GB, free: 12.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.469e-05/0.7243, allocations: 91.27 kB / 0.674 GB, free: 12.51 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7243, allocations: 0 / 0.674 GB, free: 12.51 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002234/0.7245, allocations: 16 kB / 0.674 GB, free: 12.49 MB / 474.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 () * 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.0001349/0.7247, allocations: 99.23 kB / 0.6741 GB, free: 12.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007634/0.7254, allocations: 235.7 kB / 0.6743 GB, free: 12.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.7255, allocations: 0 / 0.6743 GB, free: 12.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.7258, allocations: 123.8 kB / 0.6744 GB, free: 12.04 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.726, allocations: 7.562 kB / 0.6744 GB, free: 12.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009573/0.727, allocations: 293.6 kB / 0.6747 GB, free: 11.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.7273, allocations: 0.6926 MB / 0.6754 GB, free: 11 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.156e-05/0.7274, allocations: 23.92 kB / 0.6754 GB, free: 10.97 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.7274, allocations: 7.438 kB / 0.6754 GB, free: 10.96 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7274, allocations: 0 / 0.6754 GB, free: 10.96 MB / 474.7 MB Notification: Performance of Templates: time 0.003057/0.7305, allocations: 0.8069 MB / 0.6762 GB, free: 10.17 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)