Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.633/1.633, allocations: 285.6 MB / 293.1 MB, free: 10.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 180.9 kB / 361.4 MB, free: 6.793 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009076/0.0009077, allocations: 96.17 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.707e-05/2.71e-05, allocations: 12 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7493/0.7493, allocations: 115.3 MB / 0.9644 GB, free: 79.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2182/0.9676, allocations: 138 MB / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.9679, allocations: 73.89 kB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005274/0.9732, allocations: 1.379 MB / 1.101 GB, free: 248 kB / 0.698 GB Notification: Performance of FrontEnd: time 4.227e-06/0.9733, allocations: 0 / 1.101 GB, free: 248 kB / 0.698 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.9733, allocations: 4.156 kB / 1.101 GB, free: 248 kB / 0.698 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.0004517/0.9737, allocations: 347.5 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.9738, allocations: 13.69 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.9739, allocations: 6.484 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.9741, allocations: 169.5 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.9741, allocations: 0.5312 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.9741, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.61e-05/0.9742, allocations: 20.64 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.459e-05/0.9743, allocations: 38.69 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.9743, allocations: 0 / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.9744, allocations: 0 / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.9744, allocations: 4.719 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.9748, allocations: 227.2 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.531e-05/0.9749, allocations: 28.27 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.9749, allocations: 8.859 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008689/0.9758, allocations: 480.5 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.9759, allocations: 31.09 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.9759, allocations: 1.719 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.004572/0.9805, allocations: 0.5502 MB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.9805, allocations: 51.41 kB / 1.103 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.9807, allocations: 105 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.9807, allocations: 25.7 kB / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.9808, allocations: 84.14 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.9808, allocations: 12.59 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.9808, allocations: 0 / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.981, allocations: 318.8 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.9811, allocations: 4 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.9811, allocations: 8 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004318/0.9854, allocations: 0.5113 MB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.9855, allocations: 0 / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00444/0.9899, allocations: 0.5519 MB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.99, allocations: 8.25 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.99, allocations: 3.281 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.9901, allocations: 2.938 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.9902, allocations: 8 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.9902, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.9903, allocations: 8.016 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.9903, allocations: 4 kB / 1.104 GB, free: 12.4 MB / 0.7136 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 (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.975e-05/0.9904, allocations: 107.6 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004318/0.9947, allocations: 0.5479 MB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.9948, allocations: 4 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/0.9992, allocations: 0.5558 MB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.9992, allocations: 0 / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.9992, allocations: 4.031 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.9992, allocations: 0 / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.9994, allocations: 142.2 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9995, allocations: 0 / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-05/0.9995, allocations: 7.984 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.9996, allocations: 0 / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.9996, allocations: 4 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.9996, allocations: 0 / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.9996, allocations: 0 / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004318/1.004, allocations: 0.6512 MB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/1.004, allocations: 81.11 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/1.004, allocations: 0.6875 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/1.004, allocations: 4.031 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/1.004, allocations: 7.984 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/1.004, allocations: 0 / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.082e-05/1.004, allocations: 84.77 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/1.004, allocations: 0 / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004067/1.005, allocations: 23.94 kB / 1.106 GB, free: 10.09 MB / 0.7136 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 (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.004876/1.01, allocations: 1.196 MB / 1.108 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000128/1.01, allocations: 19.88 kB / 1.108 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.01, allocations: 5.969 kB / 1.108 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.782e-05/1.01, allocations: 8 kB / 1.108 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/1.01, allocations: 0.5156 kB / 1.108 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/1.011, allocations: 104 kB / 1.108 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/1.011, allocations: 0.6807 MB / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.925e-05/1.011, allocations: 7.281 kB / 1.108 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/1.011, allocations: 19.42 kB / 1.108 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/1.011, allocations: 4.062 kB / 1.108 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/1.033, allocations: 1.036 MB / 1.109 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/1.033, allocations: 146.9 kB / 1.109 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.613, allocations: 0 / 1.109 GB, free: 6.777 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)