Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008445/0.0008444, allocations: 98.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 179.4 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7163/0.7163, allocations: 115.5 MB / 407.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003401, allocations: 13 kB / 495.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1852, allocations: 77.53 MB / 0.56 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0009334/0.1862, allocations: 334.3 kB / 0.5603 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005073/0.1867, allocations: 163.5 kB / 0.5604 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.674e-05/0.1867, allocations: 0 / 0.5604 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.1867, allocations: 0 / 0.5604 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.697e-05/0.1868, allocations: 0 / 0.5604 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.1871, allocations: 31.91 kB / 0.5605 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.1872, allocations: 15.92 kB / 0.5605 GB, free: 8.469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.953e-05/0.1872, allocations: 4 kB / 0.5605 GB, free: 8.465 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.149e-05/0.1873, allocations: 0 / 0.5605 GB, free: 8.465 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.089e-05/0.1873, allocations: 19.91 kB / 0.5605 GB, free: 8.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1874, allocations: 0 / 0.5605 GB, free: 8.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.092e-05/0.1875, allocations: 35.97 kB / 0.5605 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.1875, allocations: 4 kB / 0.5605 GB, free: 8.406 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.1876, allocations: 37.62 kB / 0.5606 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.1877, allocations: 23.95 kB / 0.5606 GB, free: 8.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1877, allocations: 0 / 0.5606 GB, free: 8.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1877, allocations: 0 / 0.5606 GB, free: 8.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1877, allocations: 4 kB / 0.5606 GB, free: 8.336 MB / 430.1 MB 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.0004552/0.1882, allocations: 319.6 kB / 0.5609 GB, free: 7.973 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1882, allocations: 12.03 kB / 0.5609 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.1883, allocations: 4.938 kB / 0.5609 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.1884, allocations: 164.4 kB / 0.5611 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.1885, allocations: 4.375 kB / 0.5611 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.1885, allocations: 4.281 kB / 0.5611 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1887, allocations: 50.17 kB / 0.5611 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1887, allocations: 192 / 0.5611 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.1887, allocations: 3.938 kB / 0.5611 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1887, allocations: 4 kB / 0.5611 GB, free: 7.688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.502e-05/0.1888, allocations: 12 kB / 0.5612 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.1891, allocations: 165.8 kB / 0.5613 GB, free: 7.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1892, allocations: 50.55 kB / 0.5614 GB, free: 7.406 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.342e-05/0.1893, allocations: 20.97 kB / 0.5614 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.1895, allocations: 81.11 kB / 0.5615 GB, free: 7.285 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.1895, allocations: 38.56 kB / 0.5615 GB, free: 7.238 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1895, allocations: 0 / 0.5615 GB, free: 7.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001727/0.1913, allocations: 492 kB / 0.562 GB, free: 6.684 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.1913, allocations: 55.41 kB / 0.562 GB, free: 6.617 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/0.1914, allocations: 89.86 kB / 0.5621 GB, free: 6.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.1915, allocations: 25.7 kB / 0.5621 GB, free: 6.488 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.1915, allocations: 84.14 kB / 0.5622 GB, free: 6.402 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/0.1916, allocations: 23.64 kB / 0.5622 GB, free: 6.379 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.1916, allocations: 17.72 kB / 0.5623 GB, free: 6.355 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1918, allocations: 315 kB / 0.5626 GB, free: 6.039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.1918, allocations: 19.92 kB / 0.5626 GB, free: 6.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.432e-05/0.1918, allocations: 12 kB / 0.5626 GB, free: 6.008 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.478e-05/0.1919, allocations: 41.05 kB / 0.5626 GB, free: 5.965 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1919, allocations: 0 / 0.5626 GB, free: 5.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001223/0.1921, allocations: 73.59 kB / 0.5627 GB, free: 5.887 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.1921, allocations: 7.938 kB / 0.5627 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.1921, allocations: 0 / 0.5627 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.1921, allocations: 0 / 0.5627 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.1922, allocations: 15.94 kB / 0.5627 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1922, allocations: 4 kB / 0.5627 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.1923, allocations: 0 / 0.5627 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.1923, allocations: 7.984 kB / 0.5627 GB, free: 5.852 MB / 430.1 MB 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 0.0001189/0.1924, allocations: 109.8 kB / 0.5628 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.1924, allocations: 7.938 kB / 0.5628 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.1927, allocations: 77.64 kB / 0.5629 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1927, allocations: 4.438 kB / 0.5629 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.1927, allocations: 4 kB / 0.5629 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1927, allocations: 0 / 0.5629 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.1929, allocations: 173.6 kB / 0.5631 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.193, allocations: 3.938 kB / 0.5631 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.588e-05/0.1931, allocations: 15.94 kB / 0.5631 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1931, allocations: 3.938 kB / 0.5631 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1931, allocations: 0 / 0.5631 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1931, allocations: 0 / 0.5631 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1931, allocations: 0 / 0.5631 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1933, allocations: 117 kB / 0.5632 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.1934, allocations: 88.95 kB / 0.5633 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.1934, allocations: 3.984 kB / 0.5633 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.7e-05/0.1935, allocations: 7.969 kB / 0.5633 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.1935, allocations: 0 / 0.5633 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1935, allocations: 4 kB / 0.5633 GB, free: 5.141 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.241e-05/0.1936, allocations: 79.28 kB / 0.5634 GB, free: 5.062 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1936, allocations: 0 / 0.5634 GB, free: 5.062 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002293/0.1938, allocations: 32.14 kB / 0.5634 GB, free: 5.031 MB / 430.1 MB 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.0003431/0.1942, allocations: 139.2 kB / 0.5636 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.1943, allocations: 31.98 kB / 0.5636 GB, free: 4.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1943, allocations: 0 / 0.5636 GB, free: 4.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.655e-05/0.1944, allocations: 23.94 kB / 0.5636 GB, free: 4.832 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.1946, allocations: 4 kB / 0.5636 GB, free: 4.828 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.195, allocations: 152.9 kB / 0.5638 GB, free: 4.656 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.1954, allocations: 0.6809 MB / 0.5644 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.176e-05/0.1954, allocations: 4.547 kB / 0.5644 GB, free: 3.945 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.1955, allocations: 15.38 kB / 0.5644 GB, free: 3.93 MB / 430.1 MB Notification: Performance of SimCode: time 2e-07/0.1955, allocations: 0 / 0.5644 GB, free: 3.93 MB / 430.1 MB Notification: Performance of Templates: time 0.003731/0.1992, allocations: 0.8618 MB / 0.5653 GB, free: 3.074 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)