Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 289.7 MB / 302.2 MB, free: 2.125 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.001203/0.001203, allocations: 177.9 kB / 371.6 MB, free: 3.383 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.607/1.607, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008382/0.0008382, allocations: 91.22 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.668e-05/4.702e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2253, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7543/0.9796, allocations: 138.4 MB / 1.115 GB, free: 45.2 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.9799, allocations: 74.89 kB / 1.115 GB, free: 45.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.005296/0.9853, allocations: 2.032 MB / 1.117 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9853, allocations: 0.6875 kB / 1.117 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.9853, allocations: 0 / 1.117 GB, free: 43.94 MB / 0.7448 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.0002671/0.9856, allocations: 327.3 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.9857, allocations: 12.03 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.055e-05/0.9857, allocations: 31.41 kB / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.9857, allocations: 3.75 kB / 1.118 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.584e-05/0.9858, allocations: 163.5 kB / 1.118 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.9858, allocations: 7.266 kB / 1.118 GB, free: 43.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.9859, allocations: 4.953 kB / 1.118 GB, free: 43.33 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.986, allocations: 46.5 kB / 1.118 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.986, allocations: 0.8438 kB / 1.118 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.986, allocations: 4 kB / 1.118 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.986, allocations: 0.5312 kB / 1.118 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.331e-05/0.9861, allocations: 12.19 kB / 1.118 GB, free: 43.28 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.9862, allocations: 164.7 kB / 1.118 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.762e-05/0.9863, allocations: 44.06 kB / 1.118 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.9864, allocations: 22.14 kB / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-05/0.9865, allocations: 85.05 kB / 1.118 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.9865, allocations: 37.75 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 2.145e-06/0.9865, allocations: 1.219 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.001105/0.9876, allocations: 468.1 kB / 1.119 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.9876, allocations: 60.47 kB / 1.119 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.472e-05/0.9877, allocations: 89 kB / 1.119 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.9877, allocations: 25.7 kB / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.21e-05/0.9877, allocations: 84.02 kB / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.9878, allocations: 23.73 kB / 1.119 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.9878, allocations: 3.812 kB / 1.119 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.9879, allocations: 310.8 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-05/0.9879, allocations: 11.62 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/0.9879, allocations: 11.94 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.988, allocations: 20.16 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.988, allocations: 8.719 kB / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.121e-05/0.9881, allocations: 69.81 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.9881, allocations: 4 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9881, allocations: 0.5469 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.9881, allocations: 4 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.9882, allocations: 11.52 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.9882, allocations: 0 / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.9882, allocations: 4.75 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.9883, allocations: 0.625 kB / 1.119 GB, free: 41.7 MB / 0.7448 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 4.996e-05/0.9883, allocations: 120.5 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.9883, allocations: 3.906 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.9885, allocations: 81.41 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.9885, allocations: 0 / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.9885, allocations: 0 / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.9885, allocations: 0.8438 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.884e-05/0.9886, allocations: 166.1 kB / 1.12 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.9886, allocations: 3.953 kB / 1.12 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.565e-05/0.9887, allocations: 12 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.9887, allocations: 4 kB / 1.12 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.9888, allocations: 4.688 kB / 1.12 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.9888, allocations: 0 / 1.12 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9888, allocations: 3.938 kB / 1.12 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.9889, allocations: 115.7 kB / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.989, allocations: 84.97 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.989, allocations: 4.188 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.043e-05/0.989, allocations: 4.75 kB / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.9891, allocations: 9.406 kB / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.9891, allocations: 7.625 kB / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.997e-05/0.9891, allocations: 75.28 kB / 1.12 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9891, allocations: 0 / 1.12 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002343/0.9894, allocations: 43.41 kB / 1.12 GB, free: 40.95 MB / 0.7448 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.0004932/0.9899, allocations: 0.6958 MB / 1.121 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.99, allocations: 36.2 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.99, allocations: 0 / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.99, allocations: 23.31 kB / 1.121 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.9902, allocations: 8.438 kB / 1.121 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.9906, allocations: 146.6 kB / 1.121 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.9908, allocations: 0.6954 MB / 1.122 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.184e-05/0.9908, allocations: 7.719 kB / 1.122 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.9909, allocations: 14.86 kB / 1.122 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.9909, allocations: 0 / 1.122 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/1.005, allocations: 1.495 MB / 1.123 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.005, allocations: 177.5 kB / 1.123 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.665, allocations: 0 / 1.123 GB, free: 38.31 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)