Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.782/1.782, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 183.3 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008821/0.0008821, allocations: 90.5 kB / 0.7808 GB, free: 50.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.000405, allocations: 16 kB / 0.9088 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7813/0.7818, allocations: 120.3 MB / 1.026 GB, free: 55.92 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2118/0.9936, allocations: 140.7 MB / 1.164 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.9939, allocations: 76.14 kB / 1.164 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00561/0.9996, allocations: 2.05 MB / 1.166 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9996, allocations: 0 / 1.166 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.9996, allocations: 4.906 kB / 1.166 GB, free: 0.9844 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.0002577/0.9999, allocations: 332.3 kB / 1.166 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.9999, allocations: 8.656 kB / 1.166 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/1, allocations: 5.734 kB / 1.166 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.326e-05/1, allocations: 162.2 kB / 1.166 GB, free: 416 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/1, allocations: 384 / 1.166 GB, free: 416 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/1, allocations: 5.656 kB / 1.166 GB, free: 412 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/1, allocations: 45.23 kB / 1.166 GB, free: 368 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/1, allocations: 1.594 kB / 1.166 GB, free: 368 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/1, allocations: 7.938 kB / 1.166 GB, free: 360 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1, allocations: 0 / 1.166 GB, free: 360 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.759e-05/1, allocations: 15.59 kB / 1.166 GB, free: 348 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/1, allocations: 165.7 kB / 1.167 GB, free: 136 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.49e-05/1.001, allocations: 49.81 kB / 1.167 GB, free: 84 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/1.001, allocations: 19.39 kB / 1.167 GB, free: 64 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/1.001, allocations: 83.5 kB / 1.167 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/1.001, allocations: 36.88 kB / 1.167 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/1.001, allocations: 0 / 1.167 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.001359/1.002, allocations: 488.3 kB / 1.167 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/1.002, allocations: 51.41 kB / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.137e-05/1.002, allocations: 95.89 kB / 1.167 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/1.002, allocations: 25.7 kB / 1.167 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/1.002, allocations: 84.83 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/1.002, allocations: 23.02 kB / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/1.002, allocations: 4 kB / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.003, allocations: 314.4 kB / 1.168 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.252e-05/1.003, allocations: 13.69 kB / 1.168 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.788e-05/1.003, allocations: 14.89 kB / 1.168 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.734e-05/1.003, allocations: 31.88 kB / 1.168 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.003, allocations: 0 / 1.168 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001327/1.003, allocations: 69.77 kB / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.003, allocations: 13.39 kB / 1.168 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.003, allocations: 0 / 1.168 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/1.003, allocations: 2.5 kB / 1.168 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/1.003, allocations: 13.41 kB / 1.168 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.003, allocations: 1.641 kB / 1.168 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/1.003, allocations: 2.625 kB / 1.168 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/1.003, allocations: 8.562 kB / 1.168 GB, free: 14.65 MB / 0.7448 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 8.097e-05/1.003, allocations: 107.2 kB / 1.168 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/1.003, allocations: 12.47 kB / 1.168 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/1.003, allocations: 88 kB / 1.168 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/1.003, allocations: 0.5312 kB / 1.168 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.003, allocations: 2.438 kB / 1.168 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.003, allocations: 0.6562 kB / 1.168 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/1.004, allocations: 162.4 kB / 1.168 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.004, allocations: 5.359 kB / 1.168 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/1.004, allocations: 10.86 kB / 1.168 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/1.004, allocations: 10.66 kB / 1.168 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/1.004, allocations: 0.6562 kB / 1.168 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/1.004, allocations: 5.375 kB / 1.168 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.004, allocations: 0 / 1.168 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/1.004, allocations: 120.3 kB / 1.168 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/1.004, allocations: 89.78 kB / 1.169 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/1.004, allocations: 0.6562 kB / 1.169 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.029e-05/1.004, allocations: 0.8438 kB / 1.169 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/1.004, allocations: 6.062 kB / 1.169 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/1.004, allocations: 5.922 kB / 1.169 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.927e-05/1.004, allocations: 80.59 kB / 1.169 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.31e-07/1.004, allocations: 2.688 kB / 1.169 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004326/1.005, allocations: 37.86 kB / 1.169 GB, free: 13.87 MB / 0.7448 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.0003619/1.005, allocations: 139.6 kB / 1.169 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001595/1.005, allocations: 44.75 kB / 1.169 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.005, allocations: 4 kB / 1.169 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.399e-05/1.006, allocations: 23.58 kB / 1.169 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/1.006, allocations: 5.453 kB / 1.169 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/1.006, allocations: 150.5 kB / 1.169 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/1.007, allocations: 0.6845 MB / 1.17 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.182e-05/1.007, allocations: 5.5 kB / 1.17 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/1.007, allocations: 12 kB / 1.17 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.007, allocations: 3.938 kB / 1.17 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.003794/1.01, allocations: 0.803 MB / 1.17 GB, free: 12.36 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)