Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.4 MB / 222.1 MB, free: 5.398 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005303/0.0005305, allocations: 12.47 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2787, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001789/0.2806, allocations: 1.176 MB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000373/0.281, allocations: 140.5 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.281, allocations: 0 / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.281, allocations: 0 / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.104e-05/0.2811, allocations: 11.92 kB / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.2813, allocations: 23.97 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.936e-05/0.2814, allocations: 31.92 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.2815, allocations: 15.98 kB / 0.7888 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.2816, allocations: 15.92 kB / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.212e-05/0.2816, allocations: 11.94 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.2817, allocations: 4 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.385e-05/0.2817, allocations: 31.97 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.2818, allocations: 11.91 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.2818, allocations: 29.7 kB / 0.7889 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.938e-05/0.2819, allocations: 40.22 kB / 0.7889 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2819, allocations: 0 / 0.7889 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2819, allocations: 0 / 0.7889 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2819, allocations: 4 kB / 0.7889 GB, free: 10.3 MB / 0.6075 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.0004927/0.2824, allocations: 355.2 kB / 0.7892 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2825, allocations: 8.031 kB / 0.7892 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.2825, allocations: 38.55 kB / 0.7893 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.2836, allocations: 239.5 kB / 0.7895 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.2837, allocations: 182.9 kB / 0.7897 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.2837, allocations: 4 kB / 0.7897 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.2838, allocations: 11.94 kB / 0.7897 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000579/0.2844, allocations: 209.4 kB / 0.7899 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2844, allocations: 0 / 0.7899 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.2844, allocations: 4 kB / 0.7899 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.2844, allocations: 4 kB / 0.7899 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008052/0.2852, allocations: 311.6 kB / 0.7902 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009294/0.2862, allocations: 461.1 kB / 0.7906 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009987/0.2872, allocations: 334.2 kB / 0.791 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.2875, allocations: 128.8 kB / 0.7911 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.2876, allocations: 0 / 0.7911 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.2876, allocations: 30.56 kB / 0.7911 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.2876, allocations: 4 kB / 0.7911 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001098/0.2887, allocations: 377.3 kB / 0.7915 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.2888, allocations: 51.41 kB / 0.7915 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.2889, allocations: 118 kB / 0.7916 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.2889, allocations: 25.7 kB / 0.7917 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.289, allocations: 97.19 kB / 0.7918 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.289, allocations: 7.844 kB / 0.7918 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.289, allocations: 4 kB / 0.7918 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2892, allocations: 310.8 kB / 0.7921 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.2895, allocations: 119.9 kB / 0.7922 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.2898, allocations: 115.9 kB / 0.7923 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.2901, allocations: 99.89 kB / 0.7924 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2901, allocations: 3.938 kB / 0.7924 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006714/0.2908, allocations: 249.4 kB / 0.7926 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2908, allocations: 12 kB / 0.7926 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2908, allocations: 0 / 0.7926 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2909, allocations: 3.953 kB / 0.7926 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.2911, allocations: 47.94 kB / 0.7927 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2911, allocations: 0 / 0.7927 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.2913, allocations: 39.95 kB / 0.7927 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.2913, allocations: 3.938 kB / 0.7927 GB, free: 6.145 MB / 0.6075 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 (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 9.832e-05/0.2914, allocations: 117.8 kB / 0.7928 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.2915, allocations: 7.906 kB / 0.7929 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.257e-05/0.2915, allocations: 3.906 kB / 0.7929 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2915, allocations: 4 kB / 0.7929 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2915, allocations: 7.953 kB / 0.7929 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2916, allocations: 0 / 0.7929 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.2918, allocations: 210 kB / 0.7931 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2918, allocations: 4 kB / 0.7931 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.292, allocations: 43.88 kB / 0.7931 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.292, allocations: 0 / 0.7931 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.2921, allocations: 15.94 kB / 0.7931 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.2921, allocations: 0 / 0.7931 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2921, allocations: 3.953 kB / 0.7931 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007506/0.2928, allocations: 343.3 kB / 0.7935 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.2929, allocations: 89 kB / 0.7935 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.2929, allocations: 0 / 0.7935 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.2931, allocations: 31.95 kB / 0.7936 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.2932, allocations: 7.953 kB / 0.7936 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.2932, allocations: 4 kB / 0.7936 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.77e-05/0.2933, allocations: 95.27 kB / 0.7937 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2933, allocations: 0 / 0.7937 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002306/0.2935, allocations: 16 kB / 0.7937 GB, free: 5.059 MB / 0.6075 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 (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.001109/0.2946, allocations: 0.8724 MB / 0.7945 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007165/0.2953, allocations: 235.7 kB / 0.7948 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2954, allocations: 0 / 0.7948 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.2957, allocations: 123.8 kB / 0.7949 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.296, allocations: 4 kB / 0.7949 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.2983, allocations: 0.9158 MB / 0.7958 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.2986, allocations: 0.6887 MB / 0.7965 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.2987, allocations: 23.98 kB / 0.7965 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/0.2988, allocations: 19.38 kB / 0.7965 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2988, allocations: 0 / 0.7965 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.311, allocations: 1.647 MB / 0.7981 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.3112, allocations: 179.6 kB / 0.7983 GB, free: 328 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.126, allocations: 4 kB / 0.7983 GB, free: 324 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) Environment - environmentSimulation: