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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 104 kB / 16.36 MB, free: 6.301 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.001079/0.001079, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.465/1.465, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.942/1.942, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.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.001388/0.001388, allocations: 75.89 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2315, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001981/0.2336, allocations: 0.6054 MB / 0.7854 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004418/0.234, allocations: 155.5 kB / 0.7855 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.2341, allocations: 4 kB / 0.7855 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.2341, allocations: 0 / 0.7855 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.908e-05/0.2341, allocations: 3.938 kB / 0.7855 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.2345, allocations: 43.89 kB / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.775e-05/0.2346, allocations: 11.94 kB / 0.7856 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.2346, allocations: 4 kB / 0.7856 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.194e-05/0.2346, allocations: 7.984 kB / 0.7856 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.259e-05/0.2347, allocations: 4 kB / 0.7856 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.2347, allocations: 7.984 kB / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.72e-05/0.2348, allocations: 35.91 kB / 0.7857 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.2349, allocations: 7.984 kB / 0.7857 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.2349, allocations: 4 kB / 0.7857 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.235, allocations: 35.89 kB / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.235, allocations: 0 / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.964e-06/0.235, allocations: 0 / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.235, allocations: 0 / 0.7857 GB, free: 2.219 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.0004466/0.2355, allocations: 331.6 kB / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2355, allocations: 8.031 kB / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.2356, allocations: 0.9375 kB / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.2357, allocations: 180.2 kB / 0.7862 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.2357, allocations: 4.312 kB / 0.7862 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.2358, allocations: 384 / 0.7862 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.2359, allocations: 46.25 kB / 0.7862 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.2359, allocations: 192 / 0.7862 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2359, allocations: 7.938 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2359, allocations: 3.984 kB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.655e-05/0.236, allocations: 11.98 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.2362, allocations: 161.7 kB / 0.7864 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.406e-05/0.2363, allocations: 54.5 kB / 0.7865 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.2363, allocations: 20.97 kB / 0.7865 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.2364, allocations: 77.11 kB / 0.7866 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.2365, allocations: 38.5 kB / 0.7866 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.2365, allocations: 0 / 0.7866 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.001242/0.2377, allocations: 484 kB / 0.7871 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.2378, allocations: 55.41 kB / 0.7871 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.104e-05/0.2379, allocations: 93.84 kB / 0.7872 GB, free: 404 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.2379, allocations: 25.7 kB / 0.7872 GB, free: 372 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.2379, allocations: 92.08 kB / 0.7873 GB, free: 276 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.238, allocations: 15.66 kB / 0.7873 GB, free: 260 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.238, allocations: 29.7 kB / 0.7874 GB, free: 224 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3337/0.5717, allocations: 310.8 kB / 0.7877 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.5718, allocations: 12.25 kB / 0.7877 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.095e-05/0.5719, allocations: 9.281 kB / 0.7877 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.307e-05/0.572, allocations: 38.3 kB / 0.7877 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.572, allocations: 3.969 kB / 0.7877 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001325/0.5721, allocations: 70.33 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.5721, allocations: 9.5 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.5721, allocations: 2.906 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.5722, allocations: 0 / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.5723, allocations: 12.31 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5723, allocations: 0 / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.5723, allocations: 6.25 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.5723, allocations: 3.188 kB / 0.7878 GB, free: 48.32 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.096e-05/0.5724, allocations: 114.7 kB / 0.7879 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.5724, allocations: 3.938 kB / 0.7879 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.5726, allocations: 86.72 kB / 0.788 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5726, allocations: 0 / 0.788 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5726, allocations: 6.562 kB / 0.788 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5726, allocations: 0 / 0.788 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.811e-05/0.5727, allocations: 164.9 kB / 0.7882 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5727, allocations: 0 / 0.7882 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-05/0.5728, allocations: 14.59 kB / 0.7882 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5728, allocations: 0 / 0.7882 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.5728, allocations: 6.625 kB / 0.7882 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5728, allocations: 3.094 kB / 0.7882 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5729, allocations: 7.656 kB / 0.7882 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.573, allocations: 115.2 kB / 0.7883 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.573, allocations: 83.36 kB / 0.7884 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.5731, allocations: 0.5938 kB / 0.7884 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.5731, allocations: 5.75 kB / 0.7884 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.5731, allocations: 11.45 kB / 0.7884 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.5731, allocations: 5.562 kB / 0.7884 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.938e-05/0.5732, allocations: 77.81 kB / 0.7885 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5732, allocations: 1.969 kB / 0.7885 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002326/0.5734, allocations: 29.97 kB / 0.7885 GB, free: 47.75 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.0001908/0.5736, allocations: 133.8 kB / 0.7887 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.5737, allocations: 41.47 kB / 0.7887 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5737, allocations: 0 / 0.7887 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.922e-05/0.5738, allocations: 19.72 kB / 0.7887 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.5739, allocations: 3.938 kB / 0.7887 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.5742, allocations: 168.6 kB / 0.7889 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.18e-05/0.5743, allocations: 0.6835 MB / 0.7895 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.5744, allocations: 8.844 kB / 0.7896 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.5744, allocations: 0 / 0.7896 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.00214/0.5765, allocations: 0.9164 MB / 0.7904 GB, free: 46.83 MB / 0.6544 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)