Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.736/2.736, allocations: 287.5 MB / 302.4 MB, free: 8.23 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.001362/0.001362, allocations: 174.6 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.246/2.246, allocations: 205.4 MB / 0.6297 GB, free: 10.65 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.0009166/0.0009165, allocations: 96.84 kB / 0.743 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004749, allocations: 17.66 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2423, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007538/0.2431, allocations: 347.4 kB / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003654/0.2435, allocations: 139.7 kB / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.2436, allocations: 0 / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.2436, allocations: 0 / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 1.844e-05/0.2436, allocations: 0 / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.2439, allocations: 31.91 kB / 0.9789 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.14e-05/0.244, allocations: 15.98 kB / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.244, allocations: 0 / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.794e-05/0.244, allocations: 4 kB / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.2441, allocations: 19.91 kB / 0.9789 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.2441, allocations: 4 kB / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.334e-05/0.2442, allocations: 27.97 kB / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.718e-06/0.2443, allocations: 0 / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.2443, allocations: 37.64 kB / 0.979 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.413e-05/0.2444, allocations: 15.95 kB / 0.979 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2444, allocations: 0 / 0.979 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2444, allocations: 0 / 0.979 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2444, allocations: 0 / 0.979 GB, free: 27.74 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.0003196/0.2447, allocations: 331.4 kB / 0.9793 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.2448, allocations: 16.02 kB / 0.9793 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.2448, allocations: 7.906 kB / 0.9793 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.519e-05/0.2449, allocations: 171.2 kB / 0.9795 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.2449, allocations: 0 / 0.9795 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.2449, allocations: 4 kB / 0.9795 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.2451, allocations: 45.62 kB / 0.9795 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2451, allocations: 0 / 0.9795 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2451, allocations: 4 kB / 0.9795 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2451, allocations: 0 / 0.9795 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.157e-05/0.2452, allocations: 11.98 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.2453, allocations: 173.7 kB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.669e-05/0.2454, allocations: 38.56 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.2455, allocations: 24.92 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.648e-05/0.2456, allocations: 81.11 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.2456, allocations: 34.55 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.2456, allocations: 0 / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001443/0.2471, allocations: 480.1 kB / 0.9803 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.2471, allocations: 51.41 kB / 0.9804 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.479e-05/0.2472, allocations: 93.86 kB / 0.9805 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.2472, allocations: 25.7 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.672e-05/0.2472, allocations: 84.12 kB / 0.9806 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.2473, allocations: 27.64 kB / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.2473, allocations: 4.125 kB / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.2474, allocations: 318.8 kB / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.2474, allocations: 15.98 kB / 0.9809 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.2474, allocations: 19.88 kB / 0.9809 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.61e-05/0.2475, allocations: 15.94 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2475, allocations: 0 / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001338/0.2477, allocations: 65.83 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2477, allocations: 5.406 kB / 0.981 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2477, allocations: 80 / 0.981 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2477, allocations: 4 kB / 0.981 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.2478, allocations: 19.98 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2479, allocations: 7.984 kB / 0.9811 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.481e-05/0.2479, allocations: 448 / 0.9811 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-06/0.2479, allocations: 0 / 0.9811 GB, free: 25.3 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 6.082e-05/0.248, allocations: 121.7 kB / 0.9812 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.248, allocations: 3.984 kB / 0.9812 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.2482, allocations: 85.61 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.2482, allocations: 0 / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.2482, allocations: 8 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2482, allocations: 0 / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.2484, allocations: 165.6 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2484, allocations: 0 / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.2485, allocations: 19.92 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2485, allocations: 0 / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2485, allocations: 4 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2485, allocations: 0 / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2486, allocations: 0 / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.2488, allocations: 121 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.2488, allocations: 81.06 kB / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.2488, allocations: 4.031 kB / 0.9816 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.401e-05/0.2489, allocations: 4 kB / 0.9817 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.2489, allocations: 7.984 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.2489, allocations: 0 / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.887e-05/0.249, allocations: 75.28 kB / 0.9817 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.754e-06/0.249, allocations: 0 / 0.9817 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002871/0.2493, allocations: 44.09 kB / 0.9818 GB, free: 24.47 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.0002158/0.2495, allocations: 123.2 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.2496, allocations: 35.98 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2497, allocations: 3.938 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.033e-05/0.2497, allocations: 31.91 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.2499, allocations: 4 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.2502, allocations: 150 kB / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.2504, allocations: 0.6848 MB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.135e-05/0.2504, allocations: 4.188 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.2505, allocations: 11.44 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of SimCode: time 6.62e-07/0.2505, allocations: 0 / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of Templates: time 0.003517/0.254, allocations: 0.8385 MB / 0.9836 GB, free: 22.54 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)