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.002073/0.002073, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002302/0.002302, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.113/3.113, allocations: 205.4 MB / 222.1 MB, free: 5.496 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 3.485/3.485, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.001173/0.001173, allocations: 16.78 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5626/0.5638, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.004266/0.5681, allocations: 1.44 MB / 0.7886 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002117/0.5703, allocations: 0.6372 MB / 0.7893 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.5705, allocations: 0 / 0.7893 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.01e-05/0.5705, allocations: 3.938 kB / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.5707, allocations: 19.89 kB / 0.7893 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009931/0.5717, allocations: 147.2 kB / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.5719, allocations: 67.84 kB / 0.7895 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.5723, allocations: 41.27 kB / 0.7895 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.5725, allocations: 47.83 kB / 0.7896 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.5727, allocations: 39.78 kB / 0.7896 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.5727, allocations: 4 kB / 0.7896 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.5729, allocations: 35.91 kB / 0.7896 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.573, allocations: 27.91 kB / 0.7897 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.5731, allocations: 37.64 kB / 0.7897 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.5733, allocations: 92.05 kB / 0.7898 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5733, allocations: 4 kB / 0.7898 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.676e-06/0.5734, allocations: 0 / 0.7898 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.5734, allocations: 0 / 0.7898 GB, free: 9.219 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.001135/0.5745, allocations: 421.7 kB / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.092e-05/0.5746, allocations: 8.031 kB / 0.7902 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.05e-05/0.5747, allocations: 42.56 kB / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.5763, allocations: 143.6 kB / 0.7904 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.5766, allocations: 186.8 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.5768, allocations: 63.41 kB / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.5769, allocations: 12 kB / 0.7906 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009614/0.5779, allocations: 193.4 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.5779, allocations: 0 / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.578, allocations: 4 kB / 0.7908 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.578, allocations: 7.984 kB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.5791, allocations: 195.7 kB / 0.791 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.5812, allocations: 0.4978 MB / 0.7915 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.583, allocations: 270.3 kB / 0.7918 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/0.583, allocations: 11.97 kB / 0.7918 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/0.5831, allocations: 34.56 kB / 0.7918 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 5.611e-06/0.5831, allocations: 0 / 0.7918 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.001945/0.5851, allocations: 313.5 kB / 0.7921 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/0.5852, allocations: 59.39 kB / 0.7922 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.5854, allocations: 133.8 kB / 0.7923 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.786e-05/0.5855, allocations: 33.7 kB / 0.7923 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.5856, allocations: 116.1 kB / 0.7924 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.5857, allocations: 15.75 kB / 0.7924 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/0.5857, allocations: 0 / 0.7924 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.5859, allocations: 318.8 kB / 0.7927 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005325/0.5864, allocations: 95.92 kB / 0.7928 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.587, allocations: 110.5 kB / 0.7929 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.5876, allocations: 87.94 kB / 0.793 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5876, allocations: 4 kB / 0.793 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001229/0.5888, allocations: 237.4 kB / 0.7933 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.5889, allocations: 4 kB / 0.7933 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.5889, allocations: 0 / 0.7933 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.582e-05/0.589, allocations: 3.984 kB / 0.7933 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/0.5895, allocations: 47.89 kB / 0.7933 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.5895, allocations: 0 / 0.7933 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.5898, allocations: 39.88 kB / 0.7934 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.5899, allocations: 7.953 kB / 0.7934 GB, free: 5.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002478/0.5902, allocations: 117.8 kB / 0.7935 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.591e-05/0.5902, allocations: 7.906 kB / 0.7935 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.5916, allocations: 246.1 kB / 0.7937 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.5916, allocations: 4 kB / 0.7937 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.5916, allocations: 0 / 0.7937 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.5916, allocations: 0 / 0.7937 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.5922, allocations: 234.4 kB / 0.7939 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.5922, allocations: 4 kB / 0.7939 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.5927, allocations: 39.95 kB / 0.794 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.5927, allocations: 0 / 0.794 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.5927, allocations: 384 / 0.794 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.5927, allocations: 0 / 0.794 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5927, allocations: 3.938 kB / 0.794 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.594, allocations: 331.2 kB / 0.7943 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.323e-05/0.5941, allocations: 88.95 kB / 0.7944 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.5941, allocations: 0 / 0.7944 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/0.5946, allocations: 43.95 kB / 0.7944 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.766e-05/0.5947, allocations: 11.92 kB / 0.7944 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.5947, allocations: 7.984 kB / 0.7944 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001368/0.5949, allocations: 102 kB / 0.7945 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5949, allocations: 4 kB / 0.7945 GB, free: 4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000537/0.5954, allocations: 31.86 kB / 0.7946 GB, free: 3.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 (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.00186/0.5973, allocations: 0.849 MB / 0.7954 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.5985, allocations: 191.8 kB / 0.7956 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.5985, allocations: 128 / 0.7956 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005384/0.5991, allocations: 103.9 kB / 0.7957 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.5995, allocations: 8 kB / 0.7957 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.6014, allocations: 0.8149 MB / 0.7965 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.6019, allocations: 0.7043 MB / 0.7972 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001951/0.6021, allocations: 23.92 kB / 0.7972 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.6023, allocations: 31.42 kB / 0.7972 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of SimCode: time 8.22e-07/0.6023, allocations: 0 / 0.7972 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.629, allocations: 2.385 MB / 0.7996 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003859/0.6295, allocations: 175.2 kB / 0.7997 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.263/3.893, allocations: 3.938 kB / 0.7997 GB, free: 14.62 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/linux/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) Environment - environmentSimulation: