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.602/2.602, allocations: 287.3 MB / 302.3 MB, free: 8.184 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.001527/0.001527, allocations: 178.7 kB / 370.8 MB, free: 10.88 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.154/2.154, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001853/0.001853, allocations: 89.73 kB / 0.7428 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004892, allocations: 14.5 kB / 0.8656 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 115.3 MB / 0.9782 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.000755/0.2237, allocations: 345.8 kB / 0.9785 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003769/0.2241, allocations: 141.3 kB / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.2242, allocations: 4 kB / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.2242, allocations: 0 / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.055e-05/0.2242, allocations: 3.938 kB / 0.9787 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.2245, allocations: 31.89 kB / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.458e-05/0.2246, allocations: 4 kB / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.2246, allocations: 0 / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.044e-05/0.2247, allocations: 8 kB / 0.9787 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.2247, allocations: 19.84 kB / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.2248, allocations: 0 / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.184e-05/0.2249, allocations: 27.97 kB / 0.9788 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.2249, allocations: 8 kB / 0.9788 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.2249, allocations: 25.7 kB / 0.9788 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.451e-05/0.225, allocations: 19.95 kB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.225, allocations: 0 / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.225, allocations: 3.938 kB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.225, allocations: 0 / 0.9788 GB, free: 27.79 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.0003352/0.2254, allocations: 327.4 kB / 0.9791 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2254, allocations: 12.02 kB / 0.9791 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.2255, allocations: 3.906 kB / 0.9791 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.2256, allocations: 179.2 kB / 0.9793 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.2256, allocations: 3.984 kB / 0.9793 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.2257, allocations: 12 kB / 0.9793 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.2258, allocations: 37.69 kB / 0.9794 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2258, allocations: 0 / 0.9794 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.2258, allocations: 4 kB / 0.9794 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2258, allocations: 0 / 0.9794 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.814e-05/0.2259, allocations: 15.98 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.2261, allocations: 157.6 kB / 0.9795 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.2262, allocations: 50.56 kB / 0.9796 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.2263, allocations: 81.11 kB / 0.9797 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.2264, allocations: 30.56 kB / 0.9797 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.535e-06/0.2264, allocations: 3.984 kB / 0.9797 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001584/0.228, allocations: 480.7 kB / 0.9801 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.228, allocations: 55.41 kB / 0.9802 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.564e-05/0.2281, allocations: 93.84 kB / 0.9803 GB, free: 26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.2281, allocations: 25.7 kB / 0.9803 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.209e-05/0.2281, allocations: 88.14 kB / 0.9804 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.2282, allocations: 23.58 kB / 0.9804 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.2282, allocations: 4 kB / 0.9804 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.824e-05/0.2283, allocations: 322.8 kB / 0.9807 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.869e-05/0.2283, allocations: 8.125 kB / 0.9807 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-05/0.2284, allocations: 19.98 kB / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.033e-05/0.2284, allocations: 12 kB / 0.9808 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2284, allocations: 0 / 0.9808 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001501/0.2286, allocations: 73.59 kB / 0.9808 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2286, allocations: 5.875 kB / 0.9808 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2286, allocations: 0 / 0.9808 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2287, allocations: 3.938 kB / 0.9808 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.2288, allocations: 16 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2288, allocations: 7.922 kB / 0.9809 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.649e-05/0.2289, allocations: 0 / 0.9809 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.2289, allocations: 8 kB / 0.9809 GB, free: 25.37 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 7.084e-05/0.229, allocations: 113.8 kB / 0.981 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.229, allocations: 4 kB / 0.981 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.2292, allocations: 85.56 kB / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2292, allocations: 0 / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2293, allocations: 4 kB / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2293, allocations: 0 / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.2294, allocations: 165.6 kB / 0.9812 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2294, allocations: 4 kB / 0.9812 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.2296, allocations: 15.94 kB / 0.9813 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2296, allocations: 0 / 0.9813 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2296, allocations: 4 kB / 0.9813 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2297, allocations: 0 / 0.9813 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2297, allocations: 0 / 0.9813 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.2299, allocations: 113.4 kB / 0.9814 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.2299, allocations: 89.08 kB / 0.9814 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.23, allocations: 4.062 kB / 0.9815 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.23, allocations: 4 kB / 0.9815 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.2301, allocations: 7.938 kB / 0.9815 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.2301, allocations: 4 kB / 0.9815 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.36e-05/0.2301, allocations: 79.27 kB / 0.9815 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2301, allocations: 0 / 0.9815 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002981/0.2304, allocations: 32 kB / 0.9816 GB, free: 24.56 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.0002368/0.2307, allocations: 131.3 kB / 0.9817 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.2308, allocations: 35.98 kB / 0.9817 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2309, allocations: 0 / 0.9817 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.993e-05/0.2309, allocations: 23.94 kB / 0.9818 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.2311, allocations: 0 / 0.9818 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.2314, allocations: 156.8 kB / 0.9819 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.2315, allocations: 0.6848 MB / 0.9826 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.668e-05/0.2316, allocations: 12.17 kB / 0.9826 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.2317, allocations: 11.44 kB / 0.9826 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of SimCode: time 7.52e-07/0.2317, allocations: 0 / 0.9826 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.003808/0.2355, allocations: 0.8384 MB / 0.9834 GB, free: 22.62 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)