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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.638/1.638, allocations: 293 MB / 309 MB, free: 4.797 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.0009604/0.0009605, allocations: 160.6 kB / 378.7 MB, free: 1.043 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.398/1.398, allocations: 205.4 MB / 0.6383 GB, free: 8.238 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.0008638/0.0008638, allocations: 90.86 kB / 0.7527 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003887, allocations: 16 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2578, allocations: 116.4 MB / 0.9905 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6327/0.8905, allocations: 138.6 MB / 1.126 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.8908, allocations: 81.92 kB / 1.126 GB, free: 35.05 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004936/0.8958, allocations: 2.041 MB / 1.128 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.058e-06/0.8958, allocations: 0 / 1.128 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.475e-06/0.8958, allocations: 3.938 kB / 1.128 GB, free: 33.52 MB / 0.7292 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.0002718/0.8961, allocations: 331.7 kB / 1.128 GB, free: 33.15 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.8961, allocations: 12.72 kB / 1.128 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/0.8962, allocations: 2.344 kB / 1.128 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.227e-05/0.8963, allocations: 161.5 kB / 1.128 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.8963, allocations: 8.344 kB / 1.128 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.8963, allocations: 4.906 kB / 1.128 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.8964, allocations: 46.28 kB / 1.128 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.8964, allocations: 1.203 kB / 1.128 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.8965, allocations: 10.94 kB / 1.128 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.8965, allocations: 0 / 1.128 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.218e-05/0.8965, allocations: 11.47 kB / 1.128 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.8967, allocations: 167.2 kB / 1.129 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.916e-05/0.8968, allocations: 42.59 kB / 1.129 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.8968, allocations: 22.88 kB / 1.129 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.202e-05/0.8969, allocations: 85.09 kB / 1.129 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.8969, allocations: 34.5 kB / 1.129 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.897, allocations: 0 / 1.129 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.001164/0.8981, allocations: 484.9 kB / 1.129 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.8982, allocations: 55.41 kB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.237e-05/0.8982, allocations: 89.86 kB / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.8982, allocations: 29.45 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.725e-05/0.8983, allocations: 84.14 kB / 1.129 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.8983, allocations: 19.66 kB / 1.13 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.8983, allocations: 4 kB / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.8984, allocations: 319.2 kB / 1.13 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/0.8984, allocations: 12.12 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.8984, allocations: 20.17 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.008e-05/0.8985, allocations: 37.95 kB / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.8985, allocations: 0 / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.755e-05/0.8986, allocations: 73.08 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.8986, allocations: 8.875 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.8986, allocations: 0.9375 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.8986, allocations: 0.9375 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.8987, allocations: 15.61 kB / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.8987, allocations: 0.9375 kB / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.8988, allocations: 4 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.8988, allocations: 8 kB / 1.13 GB, free: 31.16 MB / 0.7292 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 5.039e-05/0.8988, allocations: 113.8 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.8989, allocations: 7.938 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.899, allocations: 81.7 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.899, allocations: 4 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.899, allocations: 0.625 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.899, allocations: 4.938 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.677e-05/0.8991, allocations: 168.5 kB / 1.13 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.8992, allocations: 0 / 1.13 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-05/0.8992, allocations: 16.5 kB / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.8992, allocations: 3.938 kB / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.8993, allocations: 3.609 kB / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.8993, allocations: 0 / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8993, allocations: 1.531 kB / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.8994, allocations: 118 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.8995, allocations: 84.95 kB / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.8995, allocations: 0 / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.8995, allocations: 4 kB / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.8996, allocations: 3.422 kB / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.8996, allocations: 4 kB / 1.131 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.799e-05/0.8996, allocations: 83.22 kB / 1.131 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.8996, allocations: 0 / 1.131 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002378/0.8998, allocations: 43.36 kB / 1.131 GB, free: 30.36 MB / 0.7292 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.0002147/0.9001, allocations: 151.3 kB / 1.131 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.9002, allocations: 35.28 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9002, allocations: 0 / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-05/0.9002, allocations: 28.11 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.9004, allocations: 1.828 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.9007, allocations: 150.2 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.9008, allocations: 0.6845 MB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.937e-05/0.9009, allocations: 5.875 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.194e-05/0.9009, allocations: 14.91 kB / 1.132 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of SimCode: time 2e-07/0.9009, allocations: 0 / 1.132 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of Templates: time 0.002999/0.9039, allocations: 0.7999 MB / 1.133 GB, free: 28.84 MB / 0.7292 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)