Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.614/1.614, allocations: 287.4 MB / 302.5 MB, free: 8.145 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.0009325/0.0009327, allocations: 178.5 kB / 371.1 MB, free: 10.84 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.668/1.668, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008506/0.0008503, allocations: 93.42 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004076, allocations: 12.25 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2807, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001784/0.2825, allocations: 1.168 MB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2836, allocations: 0.5632 MB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.717e-05/0.2837, allocations: 0 / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.2838, allocations: 3.984 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.782e-05/0.2839, allocations: 7.938 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.2842, allocations: 43.89 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.963e-05/0.2843, allocations: 19.94 kB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.2845, allocations: 4 kB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.2846, allocations: 11.92 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.2847, allocations: 23.84 kB / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.2847, allocations: 0 / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.2848, allocations: 43.97 kB / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.2849, allocations: 7.984 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.2849, allocations: 29.7 kB / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.285, allocations: 40.22 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2851, allocations: 0 / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.305e-06/0.2851, allocations: 0 / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2851, allocations: 4 kB / 0.9807 GB, free: 26.1 MB / 0.6198 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.0004442/0.2855, allocations: 347.4 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.2856, allocations: 8.031 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.133e-05/0.2856, allocations: 34.69 kB / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.2857, allocations: 8.844 kB / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.2858, allocations: 168.3 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.2858, allocations: 4.375 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.2858, allocations: 8.312 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.286, allocations: 45.8 kB / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.286, allocations: 0 / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.286, allocations: 8 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.286, allocations: 0 / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.2861, allocations: 19.98 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.2865, allocations: 260.8 kB / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.5e-05/0.2866, allocations: 30.58 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.2866, allocations: 20.91 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000701/0.2873, allocations: 0.4897 MB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.2874, allocations: 38.55 kB / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.2874, allocations: 0 / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002862/0.2877, allocations: 73.62 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.2877, allocations: 51.41 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.541e-05/0.2878, allocations: 109.8 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.2878, allocations: 25.7 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.2878, allocations: 88.12 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.2878, allocations: 7.906 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.2879, allocations: 0 / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.47e-05/0.2879, allocations: 318.8 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.288, allocations: 16.02 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.368e-05/0.288, allocations: 12 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.462e-05/0.2881, allocations: 28.84 kB / 0.9828 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2881, allocations: 0 / 0.9828 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001158/0.2882, allocations: 61.69 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2883, allocations: 7.984 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.2883, allocations: 4 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.2883, allocations: 7.938 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.2884, allocations: 4 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2884, allocations: 0 / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.174e-05/0.2884, allocations: 4 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.2884, allocations: 0 / 0.9829 GB, free: 23.51 MB / 0.6198 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 (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 6.744e-05/0.2885, allocations: 127.1 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.2886, allocations: 7.906 kB / 0.983 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.2887, allocations: 65.14 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2887, allocations: 0 / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2887, allocations: 3.938 kB / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2888, allocations: 0 / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.2889, allocations: 165.6 kB / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2889, allocations: 4.031 kB / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.2889, allocations: 7.984 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2889, allocations: 0 / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.289, allocations: 0 / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.289, allocations: 4 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.289, allocations: 0 / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.2891, allocations: 164.3 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.2892, allocations: 81.02 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.2892, allocations: 4 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.2892, allocations: 3.938 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.2893, allocations: 7.984 kB / 0.9835 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.2893, allocations: 0 / 0.9835 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.103e-05/0.2893, allocations: 83.28 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2893, allocations: 0 / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002299/0.2896, allocations: 20.03 kB / 0.9836 GB, free: 22.68 MB / 0.6198 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 (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.0004246/0.29, allocations: 0.6968 MB / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.2902, allocations: 31.95 kB / 0.9843 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2902, allocations: 0 / 0.9843 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.366e-05/0.2902, allocations: 19.98 kB / 0.9843 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.2904, allocations: 8.266 kB / 0.9843 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.2908, allocations: 170.3 kB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.291, allocations: 0.6809 MB / 0.9852 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.155e-05/0.291, allocations: 0 / 0.9852 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.2911, allocations: 15.42 kB / 0.9852 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.2911, allocations: 0 / 0.9852 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01323/0.3043, allocations: 1.37 MB / 0.9865 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.3046, allocations: 184.7 kB / 0.9867 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/1.912, allocations: 0 / 0.9867 GB, free: 19.48 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)