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.001308/0.001308, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001789/0.001789, allocations: 192.4 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.672/1.672, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.00139/0.00139, allocations: 69.44 kB / 0.6711 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2866, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003128/0.2898, allocations: 1.529 MB / 0.7845 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004222/0.2903, allocations: 137.5 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.2903, allocations: 4 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.493e-05/0.2904, allocations: 3.938 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.989e-05/0.2905, allocations: 7.938 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.2908, allocations: 27.95 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.2909, allocations: 39.92 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.291, allocations: 16 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.254e-05/0.2911, allocations: 23.92 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.2911, allocations: 15.92 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.2911, allocations: 4 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.2913, allocations: 35.97 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.2913, allocations: 11.92 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.2913, allocations: 19.92 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.2915, allocations: 68.02 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.2915, allocations: 0 / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.906e-06/0.2915, allocations: 3.938 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.2915, allocations: 0 / 0.7849 GB, free: 11.85 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.000526/0.2921, allocations: 367.4 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.2921, allocations: 8.031 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.2922, allocations: 30.75 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.2932, allocations: 212.5 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.2934, allocations: 176.2 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2934, allocations: 4.375 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.2935, allocations: 384 / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/0.294, allocations: 198 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2941, allocations: 3.938 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2941, allocations: 0 / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2941, allocations: 0 / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007962/0.2949, allocations: 287.5 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009378/0.2958, allocations: 441.2 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.2969, allocations: 290.1 kB / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.2972, allocations: 96.8 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.2973, allocations: 8.062 kB / 0.7869 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.2973, allocations: 38.48 kB / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.2973, allocations: 4 kB / 0.7869 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001107/0.2984, allocations: 301.5 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.2985, allocations: 59.41 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.2986, allocations: 113.8 kB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.2986, allocations: 29.7 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.2987, allocations: 95.92 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.2987, allocations: 11.89 kB / 0.7875 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.332e-05/0.2988, allocations: 17.72 kB / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2989, allocations: 318.8 kB / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.2993, allocations: 99.88 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.2996, allocations: 95.86 kB / 0.788 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006018/0.3002, allocations: 172.6 kB / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3002, allocations: 0 / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006801/0.3009, allocations: 205.5 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.301, allocations: 12 kB / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.301, allocations: 0 / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.301, allocations: 0 / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.3012, allocations: 39.88 kB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.3013, allocations: 7.984 kB / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.3014, allocations: 27.86 kB / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.3015, allocations: 4 kB / 0.7885 GB, free: 7.91 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.3016, allocations: 126.4 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.3016, allocations: 0 / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.3017, allocations: 7.906 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3017, allocations: 0 / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3017, allocations: 0 / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3017, allocations: 384 / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.3019, allocations: 209.5 kB / 0.7888 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3019, allocations: 0 / 0.7888 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.3022, allocations: 39.94 kB / 0.7888 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3022, allocations: 3.938 kB / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.3022, allocations: 4 kB / 0.7888 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3022, allocations: 3.938 kB / 0.7888 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3022, allocations: 4 kB / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007516/0.303, allocations: 319.1 kB / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.303, allocations: 85.11 kB / 0.7892 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.3031, allocations: 0 / 0.7892 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.3033, allocations: 27.95 kB / 0.7893 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.3034, allocations: 0 / 0.7893 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.3034, allocations: 3.984 kB / 0.7893 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.327e-05/0.3034, allocations: 103.3 kB / 0.7894 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3034, allocations: 0 / 0.7894 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002314/0.3037, allocations: 15.94 kB / 0.7894 GB, free: 6.875 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/0.3047, allocations: 0.8371 MB / 0.7902 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007122/0.3055, allocations: 199.7 kB / 0.7904 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3055, allocations: 0 / 0.7904 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.3058, allocations: 99.88 kB / 0.7905 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.3061, allocations: 0 / 0.7905 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.3094, allocations: 1.857 MB / 0.7923 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.3096, allocations: 0.6885 MB / 0.793 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.838e-05/0.3097, allocations: 19.98 kB / 0.793 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.3098, allocations: 23.42 kB / 0.793 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.3098, allocations: 0 / 0.793 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.3227, allocations: 1.772 MB / 0.7947 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.3229, allocations: 193.8 kB / 0.7949 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.029, allocations: 7.938 kB / 0.7949 GB, free: 1.086 MB / 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/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)