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.001149/0.001149, allocations: 91.61 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.0008672/0.0008672, 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.641/1.641, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.9/1.9, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005797/0.0005797, allocations: 18.47 kB / 0.6738 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2946, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002073/0.2967, allocations: 1.455 MB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.2979, allocations: 0.649 MB / 0.7895 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.1e-05/0.2979, allocations: 0 / 0.7895 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.298, allocations: 11.92 kB / 0.7895 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.291e-05/0.2981, allocations: 15.86 kB / 0.7895 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006371/0.2987, allocations: 147 kB / 0.7896 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.2989, allocations: 103.7 kB / 0.7897 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.299, allocations: 37.27 kB / 0.7898 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.2992, allocations: 39.86 kB / 0.7898 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.325e-05/0.2993, allocations: 39.77 kB / 0.7898 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.2993, allocations: 11.94 kB / 0.7898 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.2994, allocations: 47.95 kB / 0.7899 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.519e-05/0.2995, allocations: 19.91 kB / 0.7899 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.2995, allocations: 41.64 kB / 0.7899 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.2997, allocations: 92.05 kB / 0.79 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2997, allocations: 0 / 0.79 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2998, allocations: 0 / 0.79 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2998, allocations: 0 / 0.79 GB, free: 9.125 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.0006458/0.3004, allocations: 415 kB / 0.7904 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.3005, allocations: 15.97 kB / 0.7904 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.277e-05/0.3005, allocations: 38.55 kB / 0.7905 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008407/0.3014, allocations: 143.6 kB / 0.7906 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.3016, allocations: 194.8 kB / 0.7908 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.3017, allocations: 67.31 kB / 0.7909 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.3017, allocations: 4 kB / 0.7909 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.3023, allocations: 192.3 kB / 0.7911 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3023, allocations: 4 kB / 0.7911 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.3024, allocations: 0 / 0.7911 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3024, allocations: 0 / 0.7911 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005852/0.303, allocations: 199.8 kB / 0.7913 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.3041, allocations: 0.4939 MB / 0.7917 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009294/0.305, allocations: 270.3 kB / 0.792 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.3054, allocations: 108.9 kB / 0.7921 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.3054, allocations: 3.984 kB / 0.7921 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.3054, allocations: 38.5 kB / 0.7921 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3054, allocations: 0 / 0.7921 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.001027/0.3065, allocations: 321.5 kB / 0.7924 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.3065, allocations: 51.41 kB / 0.7925 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3067, allocations: 140.5 kB / 0.7926 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.3067, allocations: 25.7 kB / 0.7927 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.3068, allocations: 112.1 kB / 0.7928 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.3068, allocations: 19.75 kB / 0.7928 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.3068, allocations: 0 / 0.7928 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.307, allocations: 326.8 kB / 0.7931 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.3072, allocations: 87.92 kB / 0.7932 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.3075, allocations: 114.5 kB / 0.7933 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.3078, allocations: 87.92 kB / 0.7934 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3078, allocations: 4 kB / 0.7934 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006196/0.3085, allocations: 233.5 kB / 0.7936 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3085, allocations: 7.984 kB / 0.7936 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-06/0.3085, allocations: 160 / 0.7936 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3085, allocations: 4 kB / 0.7936 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.3088, allocations: 48.2 kB / 0.7937 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3088, allocations: 7.984 kB / 0.7937 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.309, allocations: 43.83 kB / 0.7937 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.309, allocations: 7.984 kB / 0.7937 GB, free: 5.117 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.0001144/0.3092, allocations: 118.5 kB / 0.7938 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.3092, allocations: 7.906 kB / 0.7938 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006981/0.3099, allocations: 246.1 kB / 0.7941 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3099, allocations: 0 / 0.7941 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3099, allocations: 0 / 0.7941 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3099, allocations: 3.938 kB / 0.7941 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.3102, allocations: 230.4 kB / 0.7943 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3102, allocations: 0 / 0.7943 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.3105, allocations: 47.95 kB / 0.7943 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3105, allocations: 0 / 0.7943 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.3105, allocations: 4 kB / 0.7943 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3105, allocations: 0 / 0.7943 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3105, allocations: 3.938 kB / 0.7943 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007005/0.3112, allocations: 319.2 kB / 0.7946 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.3113, allocations: 85.02 kB / 0.7947 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3113, allocations: 0 / 0.7947 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.3116, allocations: 51.94 kB / 0.7948 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.3116, allocations: 7.938 kB / 0.7948 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.3117, allocations: 7.984 kB / 0.7948 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.78e-05/0.3117, allocations: 107.2 kB / 0.7949 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3117, allocations: 0 / 0.7949 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002724/0.312, allocations: 19.91 kB / 0.7949 GB, free: 3.781 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.0009525/0.313, allocations: 0.8529 MB / 0.7957 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006282/0.3136, allocations: 200 kB / 0.7959 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3136, allocations: 4 kB / 0.7959 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.314, allocations: 100 kB / 0.796 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3143, allocations: 8 kB / 0.796 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.3164, allocations: 0.9346 MB / 0.797 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.3168, allocations: 0.7004 MB / 0.7976 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001089/0.3169, allocations: 19.94 kB / 0.7977 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.484e-05/0.317, allocations: 31.42 kB / 0.7977 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.317, allocations: 0 / 0.7977 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.3339, allocations: 2.412 MB / 0.8 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.3342, allocations: 175.6 kB / 0.8002 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.12, allocations: 3.938 kB / 0.8002 GB, free: 14.3 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: