Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.744/1.744, allocations: 285.4 MB / 298 MB, free: 6.008 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.001169/0.001169, allocations: 176.8 kB / 366.4 MB, free: 2.098 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.664/1.664, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0008177/0.000818, allocations: 99.25 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.913e-05/3.916e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7512/0.7512, allocations: 115.3 MB / 0.971 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.9489, allocations: 137.5 MB / 1.105 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.9492, allocations: 76.7 kB / 1.105 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005805/0.9551, allocations: 2.034 MB / 1.107 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9551, allocations: 3.469 kB / 1.107 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.9551, allocations: 0 / 1.107 GB, free: 12.25 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000349/0.9555, allocations: 332.7 kB / 1.108 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.9555, allocations: 12.03 kB / 1.108 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.9556, allocations: 32.34 kB / 1.108 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.9556, allocations: 0 / 1.108 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.9558, allocations: 175 kB / 1.108 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.9558, allocations: 0 / 1.108 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.9558, allocations: 15.44 kB / 1.108 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.956, allocations: 43.88 kB / 1.108 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.956, allocations: 3.984 kB / 1.108 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.956, allocations: 0 / 1.108 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.956, allocations: 0 / 1.108 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.499e-05/0.9561, allocations: 12 kB / 1.108 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.9563, allocations: 165.6 kB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.9564, allocations: 50.12 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/0.9564, allocations: 16.98 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.9566, allocations: 81.11 kB / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.9566, allocations: 30.56 kB / 1.108 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 3.346e-06/0.9566, allocations: 0 / 1.108 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.001266/0.9579, allocations: 479.1 kB / 1.109 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.9579, allocations: 51.41 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.786e-05/0.958, allocations: 92.94 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.958, allocations: 26.67 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.9581, allocations: 80.14 kB / 1.109 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.9581, allocations: 26.81 kB / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.9581, allocations: 0 / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.9582, allocations: 318.8 kB / 1.109 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.9583, allocations: 12 kB / 1.109 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/0.9583, allocations: 12.53 kB / 1.109 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.885e-05/0.9583, allocations: 17.14 kB / 1.109 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.9584, allocations: 0 / 1.109 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001225/0.9585, allocations: 72.31 kB / 1.109 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.9585, allocations: 4 kB / 1.109 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.9585, allocations: 4.875 kB / 1.109 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.9585, allocations: 0 / 1.109 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.756e-05/0.9586, allocations: 16.66 kB / 1.109 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.9587, allocations: 0 / 1.109 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.9587, allocations: 0.875 kB / 1.109 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.9587, allocations: 4 kB / 1.109 GB, free: 9.844 MB / 0.7136 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 () * 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 7.706e-05/0.9588, allocations: 118.9 kB / 1.11 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.9588, allocations: 0 / 1.11 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.959, allocations: 81.75 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.959, allocations: 0 / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.959, allocations: 0 / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.959, allocations: 7.375 kB / 1.11 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.9592, allocations: 167.7 kB / 1.11 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.9592, allocations: 3.953 kB / 1.11 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/0.9593, allocations: 11.98 kB / 1.11 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.9593, allocations: 4 kB / 1.11 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.9593, allocations: 0 / 1.11 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.9593, allocations: 0 / 1.11 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.9593, allocations: 0 / 1.11 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.9595, allocations: 120.2 kB / 1.11 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.9596, allocations: 81.06 kB / 1.11 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.9596, allocations: 7.938 kB / 1.11 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.186e-05/0.9597, allocations: 7.969 kB / 1.11 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.9597, allocations: 3.984 kB / 1.11 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.9597, allocations: 4 kB / 1.11 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.454e-05/0.9598, allocations: 79.47 kB / 1.11 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9598, allocations: 0 / 1.11 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002588/0.96, allocations: 43.94 kB / 1.11 GB, free: 9.023 MB / 0.7136 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 () * 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.0006111/0.9606, allocations: 0.6932 MB / 1.111 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.9608, allocations: 32 kB / 1.111 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9608, allocations: 8.156 kB / 1.111 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-05/0.9608, allocations: 19.94 kB / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.9609, allocations: 12.61 kB / 1.111 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.9614, allocations: 158.8 kB / 1.111 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.9617, allocations: 0.6848 MB / 1.112 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.066e-05/0.9618, allocations: 8.188 kB / 1.112 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.9618, allocations: 15.42 kB / 1.112 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of SimCode: time 5.92e-07/0.9618, allocations: 0 / 1.112 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.9746, allocations: 1.5 MB / 1.113 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.9749, allocations: 195.5 kB / 1.113 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.525, allocations: 0 / 1.113 GB, free: 5.816 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)