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.638/1.638, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001221/0.001221, allocations: 180.8 kB / 361.4 MB, free: 6.852 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.721/1.721, allocations: 205.3 MB / 0.62 GB, free: 11.63 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.0008994/0.0008992, allocations: 95.25 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.793e-05/3.768e-05, allocations: 8 kB / 0.8519 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8931/0.8932, allocations: 115.3 MB / 0.9645 GB, free: 78.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/1.095, allocations: 136.8 MB / 1.098 GB, free: 2.934 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/1.095, allocations: 75.95 kB / 1.098 GB, free: 2.859 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005692/1.101, allocations: 2.033 MB / 1.1 GB, free: 0.875 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/1.101, allocations: 0 / 1.1 GB, free: 0.875 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.402e-06/1.101, allocations: 0.9688 kB / 1.1 GB, free: 0.875 MB / 0.698 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.0002924/1.101, allocations: 331 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/1.101, allocations: 8.031 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/1.101, allocations: 5.719 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/1.101, allocations: 167.8 kB / 1.101 GB, free: 300 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/1.102, allocations: 0 / 1.101 GB, free: 300 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/1.102, allocations: 7.906 kB / 1.101 GB, free: 292 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.01e-05/1.102, allocations: 12.5 kB / 1.101 GB, free: 280 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.917e-05/1.102, allocations: 42.94 kB / 1.101 GB, free: 232 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/1.102, allocations: 0 / 1.101 GB, free: 232 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/1.102, allocations: 0 / 1.101 GB, free: 232 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/1.102, allocations: 4.5 kB / 1.101 GB, free: 228 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/1.102, allocations: 139.1 kB / 1.101 GB, free: 52 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.77e-05/1.102, allocations: 41.02 kB / 1.101 GB, free: 4 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/1.102, allocations: 21.64 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.153e-05/1.102, allocations: 77.11 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/1.102, allocations: 39.69 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 3.076e-06/1.102, allocations: 1.406 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.001056/1.103, allocations: 446.3 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/1.103, allocations: 55.88 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.618e-05/1.103, allocations: 86.41 kB / 1.102 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/1.103, allocations: 25.7 kB / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/1.103, allocations: 88.92 kB / 1.102 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/1.103, allocations: 19.64 kB / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/1.104, allocations: 0.5938 kB / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.104, allocations: 319.5 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/1.104, allocations: 8.594 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/1.104, allocations: 14.97 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.459e-05/1.104, allocations: 16.64 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/1.104, allocations: 0.875 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001246/1.104, allocations: 69.55 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/1.104, allocations: 4.625 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/1.104, allocations: 1.75 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/1.104, allocations: 1.406 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/1.104, allocations: 19.92 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/1.104, allocations: 1.312 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/1.104, allocations: 3.094 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/1.104, allocations: 4 kB / 1.102 GB, free: 14.59 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.216e-05/1.104, allocations: 101 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001087/1.104, allocations: 65.64 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.166e-06/1.104, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/1.105, allocations: 81.38 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.105, allocations: 4 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.105, allocations: 0 / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.105, allocations: 3.984 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/1.105, allocations: 134.2 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/1.105, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.252e-05/1.105, allocations: 15.95 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.105, allocations: 0 / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/1.105, allocations: 5.688 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.105, allocations: 128 / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.105, allocations: 4 kB / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/1.105, allocations: 120.1 kB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/1.105, allocations: 77.11 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/1.105, allocations: 10.75 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.305e-05/1.105, allocations: 4.031 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/1.105, allocations: 3.984 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/1.105, allocations: 4 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.391e-05/1.105, allocations: 79.34 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/1.105, allocations: 0 / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002528/1.106, allocations: 39.92 kB / 1.103 GB, free: 13.77 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.0006145/1.106, allocations: 0.6919 MB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.735e-05/1.106, allocations: 28.14 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.106, allocations: 7.844 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.097e-05/1.106, allocations: 23.94 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/1.106, allocations: 4.562 kB / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/1.107, allocations: 145.9 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/1.107, allocations: 0.6846 MB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.717e-05/1.107, allocations: 12.17 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/1.107, allocations: 15.44 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/1.107, allocations: 0 / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/1.127, allocations: 1.184 MB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/1.128, allocations: 188.1 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.619, allocations: 0 / 1.106 GB, free: 10.75 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)