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.623/1.623, allocations: 288.4 MB / 303.3 MB, free: 8.141 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.0009323/0.0009323, allocations: 185.6 kB / 372 MB, free: 10.27 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.628/1.628, allocations: 205.4 MB / 0.6307 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007435/0.0007438, allocations: 93.45 kB / 0.744 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003828, allocations: 16.64 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2021, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0006528/0.2028, allocations: 331.8 kB / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003251/0.2031, allocations: 151.7 kB / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.232e-05/0.2032, allocations: 0 / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.2032, allocations: 0 / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 1.94e-05/0.2032, allocations: 0 / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.2035, allocations: 27.92 kB / 0.9801 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.95e-05/0.2036, allocations: 7.984 kB / 0.9802 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.2036, allocations: 11.98 kB / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.2036, allocations: 11.94 kB / 0.9802 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.992e-05/0.2037, allocations: 7.922 kB / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2037, allocations: 4 kB / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.894e-05/0.2038, allocations: 27.97 kB / 0.9802 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.2038, allocations: 7.984 kB / 0.9802 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.2038, allocations: 25.7 kB / 0.9802 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.405e-05/0.2039, allocations: 23.97 kB / 0.9803 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2039, allocations: 0 / 0.9803 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2039, allocations: 0 / 0.9803 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.2039, allocations: 0 / 0.9803 GB, free: 26.91 MB / 0.6198 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.0002961/0.2042, allocations: 323.4 kB / 0.9806 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2043, allocations: 8.031 kB / 0.9806 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.201e-05/0.2043, allocations: 34.56 kB / 0.9806 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.2043, allocations: 7.906 kB / 0.9806 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.859e-05/0.2044, allocations: 171.2 kB / 0.9808 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.2044, allocations: 0 / 0.9808 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.2045, allocations: 4 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.2046, allocations: 45.67 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.2046, allocations: 4 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2046, allocations: 4 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2046, allocations: 4 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.986e-05/0.2047, allocations: 8 kB / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.2048, allocations: 161.7 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.928e-05/0.2049, allocations: 46.5 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.2049, allocations: 24.97 kB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.993e-05/0.205, allocations: 81.11 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.205, allocations: 34.56 kB / 0.9812 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.2051, allocations: 0 / 0.9812 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001179/0.2062, allocations: 488.1 kB / 0.9817 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.2063, allocations: 51.41 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.223e-05/0.2063, allocations: 97.8 kB / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.2063, allocations: 29.83 kB / 0.9818 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.252e-05/0.2064, allocations: 84.08 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.2064, allocations: 27.64 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.2064, allocations: 4 kB / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.744e-05/0.2065, allocations: 318.7 kB / 0.9822 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.2065, allocations: 12 kB / 0.9823 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.2065, allocations: 15.98 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.042e-05/0.2065, allocations: 12 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2066, allocations: 0 / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.788e-05/0.2066, allocations: 73.58 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2067, allocations: 5.875 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2067, allocations: 0 / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2067, allocations: 0 / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.2068, allocations: 24.36 kB / 0.9824 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2068, allocations: 0 / 0.9824 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.2068, allocations: 4 kB / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.2068, allocations: 4 kB / 0.9824 GB, free: 24.43 MB / 0.6198 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 5.637e-05/0.2069, allocations: 117.8 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.2069, allocations: 4 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.2071, allocations: 85.92 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2071, allocations: 0 / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2071, allocations: 3.984 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2071, allocations: 3.938 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.286e-05/0.2072, allocations: 165.6 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2072, allocations: 0 / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/0.2073, allocations: 15.98 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2073, allocations: 0 / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.2073, allocations: 4 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2073, allocations: 4 kB / 0.9828 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2073, allocations: 0 / 0.9828 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.2075, allocations: 117 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.2075, allocations: 85 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.2075, allocations: 0 / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.329e-05/0.2075, allocations: 8.031 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.2076, allocations: 3.984 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.2076, allocations: 8.062 kB / 0.983 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.579e-05/0.2076, allocations: 75.28 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2076, allocations: 3.938 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001983/0.2078, allocations: 28 kB / 0.9831 GB, free: 23.61 MB / 0.6198 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.0003934/0.2082, allocations: 0.685 MB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.166e-05/0.2083, allocations: 43.86 kB / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2083, allocations: 0 / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.754e-05/0.2084, allocations: 27.92 kB / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.2085, allocations: 0 / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.209, allocations: 410.9 kB / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.771e-05/0.2091, allocations: 0.677 MB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.2092, allocations: 11.92 kB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.2092, allocations: 15.44 kB / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/0.2092, allocations: 0 / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01061/0.2198, allocations: 1.616 MB / 0.9865 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/0.22, allocations: 238.6 kB / 0.9867 GB, free: 20 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/1.732, allocations: 0 / 0.9867 GB, free: 20 MB / 0.6198 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)