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: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.538/1.538, allocations: 292.3 MB / 308.1 MB, free: 4.32 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.00124/0.00124, allocations: 184.5 kB / 376.9 MB, free: 1.801 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.356/1.356, allocations: 205.1 MB / 0.6354 GB, free: 9.773 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.000872/0.0008721, allocations: 101.1 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001206, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2413, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001885/0.2433, allocations: 0.6666 MB / 0.9829 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004015/0.2437, allocations: 171.4 kB / 0.983 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.508e-05/0.2437, allocations: 0 / 0.983 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.2438, allocations: 4 kB / 0.983 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.285e-05/0.2438, allocations: 0 / 0.983 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.2441, allocations: 27.92 kB / 0.9831 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.044e-05/0.2441, allocations: 15.98 kB / 0.9831 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.2442, allocations: 0 / 0.9831 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.97e-05/0.2442, allocations: 11.98 kB / 0.9831 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.2443, allocations: 11.92 kB / 0.9831 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.2443, allocations: 0 / 0.9831 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.561e-05/0.2444, allocations: 31.97 kB / 0.9831 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.2444, allocations: 0 / 0.9831 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.2444, allocations: 15.92 kB / 0.9832 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.354e-05/0.2445, allocations: 27.95 kB / 0.9832 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.2445, allocations: 0 / 0.9832 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.001e-06/0.2445, allocations: 7.938 kB / 0.9832 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2445, allocations: 0 / 0.9832 GB, free: 9.383 MB / 0.7136 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.0003683/0.2449, allocations: 331.5 kB / 0.9835 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.245, allocations: 8.031 kB / 0.9835 GB, free: 9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.245, allocations: 4.938 kB / 0.9835 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.816e-05/0.2451, allocations: 164.6 kB / 0.9837 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.2451, allocations: 4.375 kB / 0.9837 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.2452, allocations: 12.3 kB / 0.9837 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.2453, allocations: 54.19 kB / 0.9837 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2453, allocations: 192 / 0.9837 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2453, allocations: 3.938 kB / 0.9837 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2453, allocations: 0 / 0.9837 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.16e-05/0.2453, allocations: 15.98 kB / 0.9838 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.2455, allocations: 153.7 kB / 0.9839 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.499e-05/0.2456, allocations: 46.62 kB / 0.984 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.2456, allocations: 24.97 kB / 0.984 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-05/0.2457, allocations: 81.11 kB / 0.9841 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.2458, allocations: 38.5 kB / 0.9841 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.994e-06/0.2458, allocations: 3.984 kB / 0.9841 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.001164/0.247, allocations: 480.5 kB / 0.9846 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.247, allocations: 51.41 kB / 0.9846 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.53e-05/0.2471, allocations: 97.86 kB / 0.9847 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.2471, allocations: 29.7 kB / 0.9847 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.2471, allocations: 80.14 kB / 0.9848 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.2472, allocations: 31.55 kB / 0.9848 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.2472, allocations: 17.72 kB / 0.9848 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.2473, allocations: 314.8 kB / 0.9851 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.977e-05/0.2473, allocations: 15.98 kB / 0.9852 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.491e-05/0.2474, allocations: 12 kB / 0.9852 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.985e-05/0.2474, allocations: 45.12 kB / 0.9852 GB, free: 7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2474, allocations: 8 kB / 0.9852 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001012/0.2475, allocations: 65.69 kB / 0.9853 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2476, allocations: 7.938 kB / 0.9853 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2476, allocations: 3.938 kB / 0.9853 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2476, allocations: 0 / 0.9853 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.474e-05/0.2477, allocations: 15.98 kB / 0.9853 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2477, allocations: 0 / 0.9853 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/0.2477, allocations: 4 kB / 0.9853 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.2477, allocations: 4 kB / 0.9853 GB, free: 6.887 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 () * 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.861e-05/0.2478, allocations: 121.8 kB / 0.9854 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.2478, allocations: 7.938 kB / 0.9854 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.248, allocations: 73.64 kB / 0.9855 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.248, allocations: 4 kB / 0.9855 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.248, allocations: 0 / 0.9855 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.248, allocations: 0 / 0.9855 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.2481, allocations: 169.6 kB / 0.9857 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2481, allocations: 0 / 0.9857 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.85e-05/0.2482, allocations: 15.94 kB / 0.9857 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2482, allocations: 7.938 kB / 0.9857 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2482, allocations: 0 / 0.9857 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.2482, allocations: 3.984 kB / 0.9857 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2482, allocations: 4 kB / 0.9857 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.2506, allocations: 1.349 MB / 0.987 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.2506, allocations: 81.14 kB / 0.9871 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.2506, allocations: 4 kB / 0.9871 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.162e-05/0.2507, allocations: 8.078 kB / 0.9871 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.2507, allocations: 4 kB / 0.9871 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.2507, allocations: 4 kB / 0.9871 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.499e-05/0.2508, allocations: 75.28 kB / 0.9872 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.693e-06/0.2508, allocations: 0 / 0.9872 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002735/0.251, allocations: 39.92 kB / 0.9872 GB, free: 4.688 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 () * 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.0002093/0.2513, allocations: 135.2 kB / 0.9874 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.2514, allocations: 44 kB / 0.9874 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2514, allocations: 0 / 0.9874 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/0.2514, allocations: 20 kB / 0.9874 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.2516, allocations: 8.484 kB / 0.9874 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.2519, allocations: 270 kB / 0.9877 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.2521, allocations: 0.6809 MB / 0.9884 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.2522, allocations: 15.97 kB / 0.9884 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.097e-05/0.2522, allocations: 11.44 kB / 0.9884 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.2522, allocations: 0 / 0.9884 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of Templates: time 0.002949/0.2552, allocations: 0.8873 MB / 0.9892 GB, free: 2.559 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (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 & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)