Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8021/0.8021, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 176.6 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 221.5 MB / 436.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009862/0.000986, allocations: 91.52 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001632/0.001632, allocations: 269.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.968e-05/1.97e-05, allocations: 8 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.356, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.4807, allocations: 107.5 MB / 0.8623 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.4809, allocations: 75.83 kB / 0.8624 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005681/0.4866, allocations: 2.039 MB / 0.8644 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4866, allocations: 0 / 0.8644 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.4867, allocations: 0 / 0.8644 GB, free: 2.324 MB / 0.5261 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.0002486/0.4869, allocations: 334.5 kB / 0.8647 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.487, allocations: 8.031 kB / 0.8647 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.487, allocations: 0 / 0.8647 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.4871, allocations: 163.1 kB / 0.8649 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.4871, allocations: 3.953 kB / 0.8649 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.4871, allocations: 0 / 0.8649 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.143e-05/0.4872, allocations: 15.98 kB / 0.8649 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.765e-05/0.4873, allocations: 41.69 kB / 0.8649 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4873, allocations: 3.938 kB / 0.8649 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.4873, allocations: 0 / 0.8649 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.4873, allocations: 0 / 0.8649 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.4875, allocations: 150 kB / 0.8651 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.197e-05/0.4875, allocations: 42.62 kB / 0.8651 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.4876, allocations: 16.98 kB / 0.8651 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.848e-05/0.4877, allocations: 81.11 kB / 0.8652 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.4877, allocations: 34.52 kB / 0.8652 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.4877, allocations: 4 kB / 0.8652 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.001013/0.4887, allocations: 452 kB / 0.8657 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.4888, allocations: 51.41 kB / 0.8657 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.495e-05/0.4888, allocations: 89 kB / 0.8658 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.4889, allocations: 25.7 kB / 0.8658 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.4889, allocations: 84.14 kB / 0.8659 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.4889, allocations: 27.58 kB / 0.8659 GB, free: 476 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.4889, allocations: 0 / 0.8659 GB, free: 476 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.489, allocations: 314.8 kB / 0.8662 GB, free: 152 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.4891, allocations: 8 kB / 0.8662 GB, free: 144 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.913e-05/0.4891, allocations: 12 kB / 0.8663 GB, free: 132 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.4891, allocations: 11.98 kB / 0.8663 GB, free: 120 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4892, allocations: 4.125 kB / 0.8663 GB, free: 116 kB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001077/0.4893, allocations: 61.69 kB / 0.8663 GB, free: 48 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.4893, allocations: 8.891 kB / 0.8663 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.4893, allocations: 4 kB / 0.8663 GB, free: 36 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.4893, allocations: 4 kB / 0.8663 GB, free: 32 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/0.4894, allocations: 15.98 kB / 0.8664 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.4894, allocations: 0 / 0.8664 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.4894, allocations: 4 kB / 0.8664 GB, free: 12 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.4895, allocations: 0 / 0.8664 GB, free: 12 kB / 0.5261 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 () * 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.153e-05/0.4895, allocations: 112.9 kB / 0.8665 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.4896, allocations: 7.906 kB / 0.8665 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.4897, allocations: 78.02 kB / 0.8666 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4897, allocations: 0 / 0.8666 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.4898, allocations: 3.984 kB / 0.8666 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4898, allocations: 0 / 0.8666 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.4899, allocations: 138.2 kB / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4899, allocations: 0 / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.961e-05/0.49, allocations: 15.94 kB / 0.8667 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.49, allocations: 0 / 0.8667 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.49, allocations: 4 kB / 0.8667 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.49, allocations: 0 / 0.8667 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.49, allocations: 11.94 kB / 0.8667 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.4902, allocations: 105 kB / 0.8668 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.4902, allocations: 88.98 kB / 0.8669 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.4903, allocations: 0 / 0.8669 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.458e-05/0.4903, allocations: 3.984 kB / 0.8669 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.4903, allocations: 8.062 kB / 0.8669 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.4904, allocations: 3.953 kB / 0.8669 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.542e-05/0.4904, allocations: 79.28 kB / 0.867 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4904, allocations: 0 / 0.867 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002217/0.4906, allocations: 39.92 kB / 0.867 GB, free: 15.24 MB / 0.5417 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 () * 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.0001979/0.4908, allocations: 143.1 kB / 0.8672 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.618e-05/0.4909, allocations: 32 kB / 0.8672 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4909, allocations: 0 / 0.8672 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.075e-05/0.491, allocations: 28.03 kB / 0.8672 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.842e-05/0.4911, allocations: 0 / 0.8672 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.4913, allocations: 97.86 kB / 0.8673 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.4915, allocations: 0.6807 MB / 0.868 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.789e-05/0.4916, allocations: 4.188 kB / 0.868 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.4916, allocations: 15.44 kB / 0.868 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.4916, allocations: 0 / 0.868 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of Templates: time 0.002488/0.4941, allocations: 0.7131 MB / 0.8687 GB, free: 13.5 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)