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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004976/0.004976, allocations: 100.2 kB / 15.73 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 186.9 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 251.7 MB / 0.5094 GB, free: 3.059 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.91 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1886, allocations: 104.7 MB / 0.8281 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00167/0.1903, allocations: 0.5981 MB / 0.8287 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003723/0.1907, allocations: 163.8 kB / 0.8288 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.1907, allocations: 0 / 0.8288 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.1907, allocations: 4 kB / 0.8288 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.249e-05/0.1908, allocations: 3.938 kB / 0.8288 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.1911, allocations: 35.91 kB / 0.8289 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.1911, allocations: 19.97 kB / 0.8289 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.1912, allocations: 4 kB / 0.8289 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.003e-05/0.1912, allocations: 7.938 kB / 0.8289 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.1913, allocations: 7.984 kB / 0.8289 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.1913, allocations: 4 kB / 0.8289 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.1e-05/0.1914, allocations: 31.97 kB / 0.8289 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.1914, allocations: 3.984 kB / 0.8289 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.1914, allocations: 15.92 kB / 0.829 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.323e-05/0.1915, allocations: 31.89 kB / 0.829 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1915, allocations: 0 / 0.829 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1915, allocations: 0 / 0.829 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.1915, allocations: 0 / 0.829 GB, free: 15.26 MB / 0.6544 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.0003987/0.1919, allocations: 341.8 kB / 0.8293 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.192, allocations: 11.97 kB / 0.8293 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/0.192, allocations: 0.9375 kB / 0.8293 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1921, allocations: 172.3 kB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1922, allocations: 4.375 kB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1922, allocations: 4.375 kB / 0.8295 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.1923, allocations: 38.25 kB / 0.8295 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.1923, allocations: 192 / 0.8295 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.1923, allocations: 15.94 kB / 0.8295 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1923, allocations: 0 / 0.8295 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.418e-05/0.1924, allocations: 11.98 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.1925, allocations: 157.7 kB / 0.8297 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.018e-05/0.1926, allocations: 54.5 kB / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.248e-05/0.1927, allocations: 20.97 kB / 0.8298 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.154e-05/0.1928, allocations: 81.09 kB / 0.8299 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1928, allocations: 34.56 kB / 0.8299 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1928, allocations: 0 / 0.8299 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.001104/0.1939, allocations: 483.9 kB / 0.8304 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.194, allocations: 59.34 kB / 0.8304 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.656e-05/0.194, allocations: 89.86 kB / 0.8305 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1941, allocations: 25.7 kB / 0.8305 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.1941, allocations: 88.14 kB / 0.8306 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.1941, allocations: 23.62 kB / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.1942, allocations: 25.72 kB / 0.8307 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.1943, allocations: 314.8 kB / 0.831 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.094e-05/0.1943, allocations: 12.12 kB / 0.831 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.1944, allocations: 24.36 kB / 0.831 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.712e-05/0.1944, allocations: 28.86 kB / 0.831 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1944, allocations: 0 / 0.831 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000101/0.1945, allocations: 69.91 kB / 0.8311 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1946, allocations: 11.94 kB / 0.8311 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1946, allocations: 7.938 kB / 0.8311 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1946, allocations: 0 / 0.8311 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.919e-05/0.1947, allocations: 15.98 kB / 0.8311 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1947, allocations: 0 / 0.8311 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.1947, allocations: 4 kB / 0.8311 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.1947, allocations: 4 kB / 0.8311 GB, free: 12.76 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.555e-05/0.1948, allocations: 109.8 kB / 0.8312 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.1948, allocations: 11.84 kB / 0.8312 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.195, allocations: 85.56 kB / 0.8313 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.195, allocations: 4 kB / 0.8313 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.195, allocations: 0 / 0.8313 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.195, allocations: 3.984 kB / 0.8313 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.1951, allocations: 161.7 kB / 0.8315 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1951, allocations: 0 / 0.8315 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.115e-05/0.1952, allocations: 16 kB / 0.8315 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.1952, allocations: 7.922 kB / 0.8315 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.1952, allocations: 0 / 0.8315 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1952, allocations: 3.938 kB / 0.8315 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1952, allocations: 0 / 0.8315 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.1954, allocations: 117 kB / 0.8316 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.1954, allocations: 81.05 kB / 0.8317 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.1955, allocations: 8.062 kB / 0.8317 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.01e-05/0.1955, allocations: 4.031 kB / 0.8317 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.1955, allocations: 3.984 kB / 0.8317 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1955, allocations: 4 kB / 0.8317 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.708e-05/0.1956, allocations: 75.28 kB / 0.8318 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1956, allocations: 0 / 0.8318 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001978/0.1958, allocations: 32 kB / 0.8318 GB, free: 11.94 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001941/0.196, allocations: 135.3 kB / 0.8319 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.1961, allocations: 39.86 kB / 0.832 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1961, allocations: 0 / 0.832 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-05/0.1961, allocations: 27.97 kB / 0.832 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.1963, allocations: 10.75 kB / 0.832 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.1966, allocations: 137.4 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.1968, allocations: 0.6844 MB / 0.8328 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.087e-05/0.1969, allocations: 11.94 kB / 0.8328 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.1969, allocations: 11.44 kB / 0.8328 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.1969, allocations: 3.938 kB / 0.8328 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.002751/0.1997, allocations: 0.8901 MB / 0.8337 GB, free: 9.973 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)