Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.597/1.597, allocations: 285.4 MB / 298 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 180.8 kB / 366.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.1 MB / 0.6248 GB, free: 7.738 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000905/0.000905, allocations: 82.06 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.81e-05, allocations: 7.984 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7834/0.7835, allocations: 115.3 MB / 0.971 GB, free: 77.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2128/0.9964, allocations: 139.8 MB / 1.107 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.9967, allocations: 71.97 kB / 1.108 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01466/1.011, allocations: 5.037 MB / 1.112 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.633e-06/1.011, allocations: 0.9688 kB / 1.112 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.011, allocations: 0 / 1.112 GB, free: 6.949 MB / 0.7136 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.0005128/1.012, allocations: 416.6 kB / 1.113 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.012, allocations: 12.03 kB / 1.113 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.388e-05/1.012, allocations: 45.05 kB / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006557/1.013, allocations: 107.8 kB / 1.113 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/1.013, allocations: 196.9 kB / 1.113 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/1.013, allocations: 63.41 kB / 1.113 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/1.013, allocations: 15.98 kB / 1.113 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/1.013, allocations: 113.6 kB / 1.113 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/1.013, allocations: 3.984 kB / 1.113 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/1.013, allocations: 4 kB / 1.113 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/1.013, allocations: 0 / 1.113 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/1.013, allocations: 85.11 kB / 1.113 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/1.015, allocations: 0.4913 MB / 1.114 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/1.015, allocations: 170.4 kB / 1.114 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/1.015, allocations: 36.98 kB / 1.114 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/1.015, allocations: 0 / 1.114 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/1.015, allocations: 38.56 kB / 1.114 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/1.015, allocations: 0 / 1.114 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002639/1.016, allocations: 105.7 kB / 1.114 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/1.016, allocations: 55.34 kB / 1.114 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/1.016, allocations: 126.5 kB / 1.114 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/1.016, allocations: 25.7 kB / 1.114 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/1.016, allocations: 112.1 kB / 1.115 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/1.016, allocations: 27.64 kB / 1.115 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/1.016, allocations: 2.906 kB / 1.115 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.016, allocations: 322.8 kB / 1.115 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.781e-05/1.016, allocations: 35.98 kB / 1.115 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.597e-05/1.016, allocations: 57.08 kB / 1.115 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.328e-05/1.016, allocations: 35.98 kB / 1.115 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.016, allocations: 0 / 1.115 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002091/1.017, allocations: 117.5 kB / 1.115 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.017, allocations: 4 kB / 1.115 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/1.017, allocations: 4 kB / 1.115 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.017, allocations: 4.062 kB / 1.115 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/1.017, allocations: 43.94 kB / 1.115 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/1.017, allocations: 7.938 kB / 1.115 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/1.017, allocations: 39.16 kB / 1.115 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/1.017, allocations: 4 kB / 1.115 GB, free: 3.844 MB / 0.7136 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 () * 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 9.493e-05/1.017, allocations: 108.9 kB / 1.115 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/1.017, allocations: 11.89 kB / 1.115 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/1.018, allocations: 114.3 kB / 1.115 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/1.018, allocations: 7.938 kB / 1.116 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.018, allocations: 4 kB / 1.116 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.018, allocations: 0 / 1.116 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/1.018, allocations: 252.4 kB / 1.116 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.018, allocations: 0 / 1.116 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/1.018, allocations: 39.95 kB / 1.116 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.018, allocations: 0 / 1.116 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/1.018, allocations: 0 / 1.116 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.018, allocations: 4 kB / 1.116 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.018, allocations: 4 kB / 1.116 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/1.018, allocations: 203.4 kB / 1.116 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/1.018, allocations: 85.02 kB / 1.116 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/1.019, allocations: 4 kB / 1.116 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/1.019, allocations: 43.95 kB / 1.116 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/1.019, allocations: 9.812 kB / 1.116 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/1.019, allocations: 7.984 kB / 1.116 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.645e-05/1.019, allocations: 109.4 kB / 1.116 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/1.019, allocations: 0 / 1.116 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000248/1.019, allocations: 24 kB / 1.116 GB, free: 2.738 MB / 0.7136 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 () * 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.0005713/1.02, allocations: 0.7358 MB / 1.117 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002076/1.02, allocations: 87.92 kB / 1.117 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.02, allocations: 0 / 1.117 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.494e-05/1.02, allocations: 36 kB / 1.117 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/1.02, allocations: 11.52 kB / 1.117 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/1.021, allocations: 191 kB / 1.117 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/1.021, allocations: 0.7004 MB / 1.118 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001039/1.021, allocations: 27.91 kB / 1.118 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.337e-05/1.021, allocations: 31.42 kB / 1.118 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/1.021, allocations: 0 / 1.118 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/1.035, allocations: 2.41 MB / 1.12 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/1.035, allocations: 164.4 kB / 1.121 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.638, allocations: 2.156 kB / 1.121 GB, free: 14.41 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)