Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.603/1.603, allocations: 251.9 MB / 266.8 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 178.5 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.979/1.979, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 81.56 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003864, allocations: 11.88 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2812, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.4828, allocations: 131.2 MB / 1.028 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.4831, allocations: 79.94 kB / 1.028 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005866/0.489, allocations: 2.03 MB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.527e-06/0.489, allocations: 3.938 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.489, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003626/0.4894, allocations: 347.2 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.4895, allocations: 12.03 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.997e-05/0.4895, allocations: 30.56 kB / 1.031 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.4896, allocations: 3.984 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.4897, allocations: 174.9 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.4897, allocations: 4 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.4898, allocations: 0 / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.4899, allocations: 41.69 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4899, allocations: 0 / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.4899, allocations: 4 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4899, allocations: 4 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.548e-05/0.49, allocations: 15.98 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.4902, allocations: 157.6 kB / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.4903, allocations: 46.56 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.4905, allocations: 81.11 kB / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.4905, allocations: 34.69 kB / 1.031 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/0.4905, allocations: 4 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.001522/0.492, allocations: 484.2 kB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.4921, allocations: 51.41 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.978e-05/0.4922, allocations: 96.92 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.4922, allocations: 29.7 kB / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.4923, allocations: 80.14 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.4923, allocations: 19.66 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/0.4923, allocations: 4.125 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4925, allocations: 326.8 kB / 1.032 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.452e-05/0.4925, allocations: 4 kB / 1.032 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/0.4925, allocations: 16.06 kB / 1.032 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.594e-05/0.4926, allocations: 15.98 kB / 1.032 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4926, allocations: 0 / 1.032 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000142/0.4927, allocations: 73.67 kB / 1.032 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.4928, allocations: 4 kB / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4928, allocations: 0 / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.4928, allocations: 0 / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/0.4929, allocations: 19.94 kB / 1.032 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.4929, allocations: 3.938 kB / 1.032 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.4929, allocations: 1.656 kB / 1.032 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.4929, allocations: 11.98 kB / 1.032 GB, free: 7.863 MB / 0.6823 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 (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 8.214e-05/0.493, allocations: 109.8 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.493, allocations: 4 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.4932, allocations: 81.55 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4933, allocations: 8 kB / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4933, allocations: 0 / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4933, allocations: 0 / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.4934, allocations: 177.5 kB / 1.033 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4934, allocations: 0 / 1.033 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.621e-05/0.4935, allocations: 12 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4935, allocations: 0 / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.4936, allocations: 0 / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4936, allocations: 4.125 kB / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4936, allocations: 0 / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.4938, allocations: 125.1 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.4938, allocations: 84.97 kB / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.4939, allocations: 7.922 kB / 1.033 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.328e-05/0.4939, allocations: 4 kB / 1.033 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.4939, allocations: 0 / 1.033 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.494, allocations: 8 kB / 1.033 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.934e-05/0.494, allocations: 75.28 kB / 1.033 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.494, allocations: 160 / 1.033 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002539/0.4943, allocations: 47.92 kB / 1.033 GB, free: 7.027 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.0006411/0.4949, allocations: 0.6866 MB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.495, allocations: 36.39 kB / 1.034 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4951, allocations: 0 / 1.034 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.796e-05/0.4951, allocations: 28.05 kB / 1.034 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.4952, allocations: 13.91 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007516/0.496, allocations: 433.1 kB / 1.034 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.4963, allocations: 0.6887 MB / 1.035 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.273e-05/0.4964, allocations: 12.23 kB / 1.035 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.4964, allocations: 16.84 kB / 1.035 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of SimCode: time 4.91e-07/0.4964, allocations: 0 / 1.035 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.5101, allocations: 1.475 MB / 1.037 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.5103, allocations: 213.6 kB / 1.037 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.064, allocations: 4 kB / 1.037 GB, free: 3.512 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)