Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5942/0.5942, allocations: 91.97 MB / 108.5 MB, free: 13.07 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.715/1.715, allocations: 223.2 MB / 354.3 MB, free: 12.16 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.001008/0.001008, allocations: 104.2 kB / 427.4 MB, free: 3.879 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003438, allocations: 16 kB / 0.4983 GB, free: 42.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1603, allocations: 72.3 MB / 0.5689 GB, free: 1.809 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5394/0.6998, allocations: 102.3 MB / 0.6688 GB, free: 2.125 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.7001, allocations: 71.97 kB / 0.6689 GB, free: 2.055 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004977/0.7051, allocations: 1.431 MB / 0.6703 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.7052, allocations: 0 / 0.6703 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.7052, allocations: 4 kB / 0.6703 GB, free: 0.6289 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00049/0.7057, allocations: 355.8 kB / 0.6706 GB, free: 240 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.681e-05/0.7058, allocations: 12.03 kB / 0.6706 GB, free: 228 kB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.108e-05/0.7058, allocations: 34.55 kB / 0.6706 GB, free: 184 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.7059, allocations: 9.719 kB / 0.6707 GB, free: 176 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.7061, allocations: 171 kB / 0.6708 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.7061, allocations: 3.938 kB / 0.6708 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.7061, allocations: 4 kB / 0.6708 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.7063, allocations: 42.56 kB / 0.6709 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7063, allocations: 7.938 kB / 0.6709 GB, free: 15.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.7063, allocations: 0 / 0.6709 GB, free: 15.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.7063, allocations: 3.953 kB / 0.6709 GB, free: 15.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.7064, allocations: 27.97 kB / 0.6709 GB, free: 15.87 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.7069, allocations: 253 kB / 0.6711 GB, free: 15.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.368e-05/0.707, allocations: 38.5 kB / 0.6712 GB, free: 15.53 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007344/0.7077, allocations: 469.5 kB / 0.6716 GB, free: 14.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.7078, allocations: 30.56 kB / 0.6717 GB, free: 14.94 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.833e-06/0.7078, allocations: 0 / 0.6717 GB, free: 14.94 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002877/0.7081, allocations: 77.53 kB / 0.6717 GB, free: 14.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.7081, allocations: 51.41 kB / 0.6718 GB, free: 14.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.7082, allocations: 109.8 kB / 0.6719 GB, free: 14.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.7082, allocations: 29.64 kB / 0.6719 GB, free: 14.64 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.7083, allocations: 88.14 kB / 0.672 GB, free: 14.55 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.7083, allocations: 3.906 kB / 0.672 GB, free: 14.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-06/0.7083, allocations: 0 / 0.672 GB, free: 14.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.7085, allocations: 318.8 kB / 0.6723 GB, free: 14.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.7085, allocations: 8 kB / 0.6723 GB, free: 14.22 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.899e-05/0.7086, allocations: 15.98 kB / 0.6723 GB, free: 14.21 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.791e-05/0.7086, allocations: 12 kB / 0.6723 GB, free: 14.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.7086, allocations: 0 / 0.6723 GB, free: 14.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001472/0.7088, allocations: 53.69 kB / 0.6724 GB, free: 14.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.7088, allocations: 8 kB / 0.6724 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.7088, allocations: 3.984 kB / 0.6724 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.7089, allocations: 6.719 kB / 0.6724 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/0.709, allocations: 7.953 kB / 0.6724 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.709, allocations: 0 / 0.6724 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.576e-05/0.709, allocations: 7.938 kB / 0.6724 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-06/0.709, allocations: 0 / 0.6724 GB, free: 14.11 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 (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 9.396e-05/0.7091, allocations: 117.8 kB / 0.6725 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.7092, allocations: 3.906 kB / 0.6725 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.7094, allocations: 69.2 kB / 0.6726 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.7094, allocations: 0 / 0.6726 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.7094, allocations: 3.953 kB / 0.6726 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.7094, allocations: 0 / 0.6726 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.7096, allocations: 157.7 kB / 0.6728 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7096, allocations: 0 / 0.6728 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.932e-05/0.7097, allocations: 7.984 kB / 0.6728 GB, free: 13.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.7097, allocations: 4 kB / 0.6728 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.7097, allocations: 4.031 kB / 0.6728 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7097, allocations: 0 / 0.6728 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7098, allocations: 0 / 0.6728 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.71, allocations: 163.4 kB / 0.6729 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.71, allocations: 85.02 kB / 0.673 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.7101, allocations: 0.5 kB / 0.673 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.145e-05/0.7101, allocations: 4.031 kB / 0.673 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.7102, allocations: 4 kB / 0.673 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.7102, allocations: 3.938 kB / 0.673 GB, free: 13.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.72e-05/0.7102, allocations: 95.5 kB / 0.6731 GB, free: 13.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7103, allocations: 4 kB / 0.6731 GB, free: 13.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.7105, allocations: 23.89 kB / 0.6731 GB, free: 13.27 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 (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.0006/0.7111, allocations: 0.7085 MB / 0.6738 GB, free: 12.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.7113, allocations: 27.98 kB / 0.6739 GB, free: 12.51 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7113, allocations: 0 / 0.6739 GB, free: 12.51 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.98e-05/0.7114, allocations: 16.09 kB / 0.6739 GB, free: 12.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.7115, allocations: 0 / 0.6739 GB, free: 12.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.7121, allocations: 183.6 kB / 0.6741 GB, free: 12.28 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.7124, allocations: 0.6809 MB / 0.6747 GB, free: 11.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.361e-05/0.7124, allocations: 12.05 kB / 0.6747 GB, free: 11.56 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.7125, allocations: 11.44 kB / 0.6747 GB, free: 11.55 MB / 474.7 MB Notification: Performance of SimCode: time 4.01e-07/0.7125, allocations: 0 / 0.6747 GB, free: 11.55 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.7264, allocations: 1.329 MB / 0.676 GB, free: 10.33 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/0.7266, allocations: 168.9 kB / 0.6762 GB, free: 10.09 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.324, allocations: 7.875 kB / 0.6762 GB, free: 10.08 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)