Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks",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.001155/0.001155, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 190 kB / 16.64 MB, free: 6.594 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.411/1.411, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.749/1.749, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001655/0.001656, allocations: 66.44 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2845, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00379/0.2883, allocations: 1.762 MB / 0.7854 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.2897, allocations: 0.6885 MB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.166e-05/0.2898, allocations: 4 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.916e-05/0.2899, allocations: 19.73 kB / 0.7861 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.904e-05/0.29, allocations: 15.8 kB / 0.7861 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006714/0.2907, allocations: 179.9 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.2909, allocations: 119.7 kB / 0.7864 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.2911, allocations: 53.03 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.2913, allocations: 55.83 kB / 0.7865 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.776e-05/0.2914, allocations: 43.78 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.2914, allocations: 12 kB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.2915, allocations: 47.97 kB / 0.7866 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.599e-05/0.2916, allocations: 27.89 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.2916, allocations: 63.7 kB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.2919, allocations: 155.7 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2919, allocations: 0 / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2919, allocations: 0 / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.2919, allocations: 0 / 0.7868 GB, free: 10.04 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007623/0.2927, allocations: 433.6 kB / 0.7872 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.2927, allocations: 12.03 kB / 0.7872 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.916e-05/0.2928, allocations: 38.73 kB / 0.7873 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008905/0.2937, allocations: 112.7 kB / 0.7874 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.294, allocations: 192 kB / 0.7875 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.2941, allocations: 67.97 kB / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.2941, allocations: 4.375 kB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/0.2947, allocations: 173.5 kB / 0.7878 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2947, allocations: 0 / 0.7878 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.2947, allocations: 4 kB / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2947, allocations: 0 / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.2953, allocations: 163.8 kB / 0.7879 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.2965, allocations: 481.7 kB / 0.7884 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009788/0.2975, allocations: 226.3 kB / 0.7886 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.2978, allocations: 80.91 kB / 0.7887 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.2978, allocations: 3.984 kB / 0.7887 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.2979, allocations: 34.56 kB / 0.7887 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.2979, allocations: 0 / 0.7887 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.001044/0.2989, allocations: 261.5 kB / 0.789 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.299, allocations: 55.41 kB / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.2991, allocations: 145.6 kB / 0.7892 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.2992, allocations: 33.64 kB / 0.7892 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.2993, allocations: 100.3 kB / 0.7893 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.2993, allocations: 27.66 kB / 0.7893 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.2994, allocations: 25.7 kB / 0.7894 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2996, allocations: 318.8 kB / 0.7897 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.2999, allocations: 71.92 kB / 0.7897 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.3002, allocations: 102.4 kB / 0.7898 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005692/0.3008, allocations: 166.4 kB / 0.79 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3008, allocations: 0 / 0.79 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000665/0.3014, allocations: 197.4 kB / 0.7902 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3015, allocations: 6.719 kB / 0.7902 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.3015, allocations: 11.94 kB / 0.7902 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3015, allocations: 0 / 0.7902 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.3018, allocations: 35.95 kB / 0.7902 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3018, allocations: 0 / 0.7902 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.302, allocations: 27.95 kB / 0.7902 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.302, allocations: 4.312 kB / 0.7903 GB, free: 6.238 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001268/0.3022, allocations: 122.4 kB / 0.7904 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.3022, allocations: 7.906 kB / 0.7904 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/0.3029, allocations: 214.1 kB / 0.7906 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.303, allocations: 7.938 kB / 0.7906 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.303, allocations: 4 kB / 0.7906 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.303, allocations: 3.984 kB / 0.7906 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.3033, allocations: 234.3 kB / 0.7908 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3033, allocations: 0 / 0.7908 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.3035, allocations: 31.95 kB / 0.7908 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3035, allocations: 0 / 0.7908 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.3036, allocations: 7.922 kB / 0.7909 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3036, allocations: 160 / 0.7909 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3036, allocations: 4 kB / 0.7909 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.3043, allocations: 287.2 kB / 0.7911 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.3043, allocations: 85.02 kB / 0.7912 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.3044, allocations: 11.94 kB / 0.7912 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.3046, allocations: 27.95 kB / 0.7913 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.3047, allocations: 7.984 kB / 0.7913 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.3047, allocations: 4 kB / 0.7913 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.185e-05/0.3048, allocations: 109.8 kB / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3048, allocations: 0 / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002646/0.3051, allocations: 24 kB / 0.7914 GB, free: 4.969 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 (6): * Single equations (assignments): 6 * 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.00103/0.3061, allocations: 0.8176 MB / 0.7922 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006728/0.3068, allocations: 159.8 kB / 0.7923 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3068, allocations: 0 / 0.7923 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.3071, allocations: 91.97 kB / 0.7924 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.3075, allocations: 20.3 kB / 0.7925 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.3106, allocations: 1.82 MB / 0.7942 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.3109, allocations: 0.704 MB / 0.7949 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.827e-05/0.311, allocations: 15.75 kB / 0.7949 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-05/0.3111, allocations: 35.41 kB / 0.795 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.3111, allocations: 0 / 0.795 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.3285, allocations: 2.719 MB / 0.7976 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.239/7.567, allocations: 6.938 kB / 0.7976 GB, free: 14.52 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)