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.9033/0.9033, allocations: 141.8 MB / 149.3 MB, free: 9.18 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.0009935/0.0009934, allocations: 183.9 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.37/1.37, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0008897/0.0008897, allocations: 91.55 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001793/0.001793, allocations: 278.2 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.136e-05/2.139e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3454, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.4684, allocations: 108 MB / 0.8628 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.4687, allocations: 75.83 kB / 0.8629 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003602/0.4723, allocations: 1.353 MB / 0.8642 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4723, allocations: 0 / 0.8642 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4723, allocations: 0 / 0.8642 GB, free: 2.465 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.0002991/0.4726, allocations: 342.5 kB / 0.8645 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.4726, allocations: 12.03 kB / 0.8645 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.4727, allocations: 0 / 0.8645 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.4728, allocations: 182.8 kB / 0.8647 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.4728, allocations: 3.953 kB / 0.8647 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.4728, allocations: 3.938 kB / 0.8647 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.813e-05/0.4729, allocations: 12 kB / 0.8647 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.652e-05/0.473, allocations: 33.69 kB / 0.8648 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.473, allocations: 0 / 0.8648 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.473, allocations: 4 kB / 0.8648 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.473, allocations: 4 kB / 0.8648 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.4733, allocations: 245.5 kB / 0.865 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.595e-05/0.4734, allocations: 22.58 kB / 0.865 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.207e-05/0.4734, allocations: 12.86 kB / 0.865 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-05/0.4735, allocations: 89.09 kB / 0.8651 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.4736, allocations: 30.56 kB / 0.8652 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.4736, allocations: 3.938 kB / 0.8652 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001495/0.4737, allocations: 41.7 kB / 0.8652 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.4737, allocations: 51.41 kB / 0.8653 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.4738, allocations: 96.98 kB / 0.8653 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.4738, allocations: 25.7 kB / 0.8654 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.4739, allocations: 84.17 kB / 0.8655 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.4739, allocations: 7.906 kB / 0.8655 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.4739, allocations: 0 / 0.8655 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.474, allocations: 314.8 kB / 0.8658 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.474, allocations: 4 kB / 0.8658 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.377e-05/0.474, allocations: 8 kB / 0.8658 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.354e-05/0.4741, allocations: 7.922 kB / 0.8658 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4741, allocations: 0 / 0.8658 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000107/0.4742, allocations: 45.66 kB / 0.8658 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.4742, allocations: 9.5 kB / 0.8658 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.4742, allocations: 0 / 0.8658 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.4743, allocations: 4 kB / 0.8658 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.4743, allocations: 11.98 kB / 0.8658 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.4744, allocations: 0 / 0.8658 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.158e-05/0.4744, allocations: 7.984 kB / 0.8659 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.4744, allocations: 4 kB / 0.8659 GB, free: 0.5586 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 5.598e-05/0.4745, allocations: 105 kB / 0.866 GB, free: 460 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.4745, allocations: 11.8 kB / 0.866 GB, free: 448 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.4746, allocations: 53.38 kB / 0.866 GB, free: 392 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.4746, allocations: 0 / 0.866 GB, free: 392 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.4747, allocations: 0 / 0.866 GB, free: 392 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.4747, allocations: 0 / 0.866 GB, free: 392 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.4748, allocations: 134.2 kB / 0.8661 GB, free: 220 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4748, allocations: 0 / 0.8661 GB, free: 220 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-05/0.4749, allocations: 16.02 kB / 0.8662 GB, free: 204 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4749, allocations: 0 / 0.8662 GB, free: 204 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.4749, allocations: 7.953 kB / 0.8662 GB, free: 196 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4749, allocations: 0 / 0.8662 GB, free: 196 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4749, allocations: 0 / 0.8662 GB, free: 196 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.475, allocations: 139.5 kB / 0.8663 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.4751, allocations: 77.11 kB / 0.8664 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.4751, allocations: 0 / 0.8664 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.4752, allocations: 20.22 kB / 0.8664 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.4752, allocations: 0 / 0.8664 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.4752, allocations: 4 kB / 0.8664 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.062e-05/0.4753, allocations: 87.22 kB / 0.8665 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4753, allocations: 0 / 0.8665 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000235/0.4755, allocations: 27.86 kB / 0.8665 GB, free: 15.81 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.0001377/0.4757, allocations: 107.2 kB / 0.8666 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.273e-05/0.4757, allocations: 16 kB / 0.8666 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.4757, allocations: 0 / 0.8666 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-05/0.4758, allocations: 4 kB / 0.8666 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.4759, allocations: 7.672 kB / 0.8666 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001598/0.4761, allocations: 59.91 kB / 0.8667 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.4763, allocations: 0.6768 MB / 0.8674 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.679e-05/0.4763, allocations: 15.98 kB / 0.8674 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.4764, allocations: 11.44 kB / 0.8674 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.4764, allocations: 0 / 0.8674 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of Templates: time 0.001988/0.4784, allocations: 450.5 kB / 0.8678 GB, free: 14.42 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)