Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.805/0.805, 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.0009641/0.0009642, allocations: 176.8 kB / 182.2 MB, free: 9.434 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.408/1.408, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0008546/0.000855, allocations: 95.78 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001665/0.001665, allocations: 285.1 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.62e-05/1.621e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4453, allocations: 82.78 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.5841, allocations: 108 MB / 0.8628 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.5844, allocations: 79.81 kB / 0.8629 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003841/0.5882, allocations: 1.361 MB / 0.8642 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5883, allocations: 0 / 0.8642 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.5883, allocations: 3.938 kB / 0.8642 GB, free: 2.426 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003709/0.5886, allocations: 342.5 kB / 0.8645 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5887, allocations: 8.031 kB / 0.8646 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.5887, allocations: 4 kB / 0.8646 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.5889, allocations: 166.9 kB / 0.8647 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.5889, allocations: 7.953 kB / 0.8647 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.5889, allocations: 4 kB / 0.8647 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.572e-05/0.589, allocations: 11.98 kB / 0.8647 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.694e-05/0.589, allocations: 29.7 kB / 0.8648 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.5891, allocations: 0 / 0.8648 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5891, allocations: 4 kB / 0.8648 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.5891, allocations: 0 / 0.8648 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.5895, allocations: 257.4 kB / 0.865 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.758e-05/0.5895, allocations: 18.58 kB / 0.865 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.5896, allocations: 12.92 kB / 0.865 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.454e-05/0.5897, allocations: 81.11 kB / 0.8651 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.5897, allocations: 30.56 kB / 0.8652 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5897, allocations: 0 / 0.8652 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000171/0.5899, allocations: 53.61 kB / 0.8652 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.5899, allocations: 51.41 kB / 0.8653 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.715e-05/0.59, allocations: 97 kB / 0.8653 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.59, allocations: 25.7 kB / 0.8654 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.5901, allocations: 80.14 kB / 0.8654 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.5901, allocations: 11.89 kB / 0.8655 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-06/0.5901, allocations: 0 / 0.8655 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5902, allocations: 314.8 kB / 0.8658 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.5902, allocations: 4.031 kB / 0.8658 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.304e-05/0.5902, allocations: 11.94 kB / 0.8658 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.194e-05/0.5903, allocations: 4 kB / 0.8658 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.5903, allocations: 0 / 0.8658 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.983e-05/0.5904, allocations: 49.64 kB / 0.8658 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.5904, allocations: 4 kB / 0.8658 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.5904, allocations: 0 / 0.8658 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.5904, allocations: 0 / 0.8658 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.852e-05/0.5905, allocations: 16.08 kB / 0.8658 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.5905, allocations: 3.938 kB / 0.8658 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.163e-05/0.5906, allocations: 8 kB / 0.8659 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.5906, allocations: 3.672 kB / 0.8659 GB, free: 0.5312 MB / 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 (2): * Single equations (assignments): 2 * 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 6.264e-05/0.5907, allocations: 101 kB / 0.866 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.5907, allocations: 11.86 kB / 0.866 GB, free: 424 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.5908, allocations: 49.44 kB / 0.866 GB, free: 372 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5908, allocations: 4.031 kB / 0.866 GB, free: 368 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5909, allocations: 7.922 kB / 0.866 GB, free: 360 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.5909, allocations: 4 kB / 0.866 GB, free: 356 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.591, allocations: 138.5 kB / 0.8662 GB, free: 180 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.591, allocations: 4 kB / 0.8662 GB, free: 176 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.5911, allocations: 11.98 kB / 0.8662 GB, free: 164 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5911, allocations: 0 / 0.8662 GB, free: 164 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.5911, allocations: 3.953 kB / 0.8662 GB, free: 160 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.5911, allocations: 0 / 0.8662 GB, free: 160 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5911, allocations: 4 kB / 0.8662 GB, free: 156 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.5912, allocations: 139.5 kB / 0.8663 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.5913, allocations: 77.11 kB / 0.8664 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.5913, allocations: 4 kB / 0.8664 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.5914, allocations: 11.94 kB / 0.8664 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.5914, allocations: 0 / 0.8664 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.5914, allocations: 8.031 kB / 0.8664 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.946e-05/0.5915, allocations: 83.28 kB / 0.8665 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5915, allocations: 0 / 0.8665 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000219/0.5917, allocations: 15.94 kB / 0.8665 GB, free: 15.79 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001624/0.5919, allocations: 107.2 kB / 0.8666 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.56e-05/0.592, allocations: 12 kB / 0.8666 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.592, allocations: 0 / 0.8666 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.942e-05/0.592, allocations: 15.88 kB / 0.8666 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.5922, allocations: 8.125 kB / 0.8666 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002135/0.5924, allocations: 55.91 kB / 0.8667 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.5928, allocations: 0.6807 MB / 0.8674 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.293e-05/0.5928, allocations: 0 / 0.8674 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.5928, allocations: 7.438 kB / 0.8674 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.5928, allocations: 0 / 0.8674 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of Templates: time 0.002265/0.5951, allocations: 457 kB / 0.8678 GB, free: 14.39 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)