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.7982/0.7982, allocations: 143.4 MB / 158.3 MB, free: 5.797 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.001183/0.001183, allocations: 177.1 kB / 191.5 MB, free: 5.758 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.579/1.579, allocations: 223.2 MB / 447.7 MB, free: 6.566 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.001255/0.001255, allocations: 102.1 kB / 0.5188 GB, free: 2.91 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00164/0.00164, allocations: 278.6 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006934/0.0006933, allocations: 20 kB / 0.6929 GB, free: 2.324 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3912, allocations: 82.77 MB / 0.7737 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.5345, allocations: 108.7 MB / 0.8799 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.5347, allocations: 79.81 kB / 0.88 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003862/0.5386, allocations: 1.367 MB / 0.8813 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5386, allocations: 0 / 0.8813 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.5386, allocations: 0 / 0.8813 GB, free: 11.94 MB / 0.5417 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.0003799/0.539, allocations: 348.2 kB / 0.8816 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.5391, allocations: 12.56 kB / 0.8816 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.5391, allocations: 7.906 kB / 0.8816 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.5392, allocations: 167 kB / 0.8818 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.5392, allocations: 7.953 kB / 0.8818 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.5393, allocations: 0 / 0.8818 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.5394, allocations: 57.67 kB / 0.8819 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.5394, allocations: 0 / 0.8819 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.5395, allocations: 0 / 0.8819 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.5395, allocations: 0 / 0.8819 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.5396, allocations: 47.91 kB / 0.8819 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.54, allocations: 264.9 kB / 0.8822 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.5402, allocations: 46.56 kB / 0.8822 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.091e-05/0.5403, allocations: 81.09 kB / 0.8823 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.5403, allocations: 38.62 kB / 0.8823 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.502e-06/0.5403, allocations: 0 / 0.8823 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0003627/0.5407, allocations: 101.6 kB / 0.8824 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.5407, allocations: 51.41 kB / 0.8825 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.5408, allocations: 101 kB / 0.8826 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.5409, allocations: 25.7 kB / 0.8826 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.5409, allocations: 88.05 kB / 0.8827 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.541, allocations: 3.984 kB / 0.8827 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.541, allocations: 4.125 kB / 0.8827 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5411, allocations: 318.8 kB / 0.883 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.661e-05/0.5412, allocations: 19.98 kB / 0.883 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.547e-05/0.5413, allocations: 19.98 kB / 0.883 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.773e-05/0.5414, allocations: 28.03 kB / 0.883 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5414, allocations: 3.953 kB / 0.883 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/0.5416, allocations: 85.45 kB / 0.8831 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.5417, allocations: 8.031 kB / 0.8831 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5417, allocations: 0 / 0.8831 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5417, allocations: 0 / 0.8831 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.079e-05/0.5418, allocations: 11.98 kB / 0.8831 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.5418, allocations: 0 / 0.8831 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.5419, allocations: 11.98 kB / 0.8832 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.5419, allocations: 0 / 0.8832 GB, free: 9.793 MB / 0.5417 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 (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 9.93e-05/0.542, allocations: 117.8 kB / 0.8833 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.542, allocations: 3.953 kB / 0.8833 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.5423, allocations: 84.72 kB / 0.8834 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5423, allocations: 0 / 0.8834 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5423, allocations: 4.031 kB / 0.8834 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5423, allocations: 0 / 0.8834 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.5425, allocations: 161.7 kB / 0.8835 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5425, allocations: 0 / 0.8835 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.393e-05/0.5426, allocations: 15.94 kB / 0.8835 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.5426, allocations: 0 / 0.8835 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.5426, allocations: 0 / 0.8835 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5426, allocations: 0 / 0.8835 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5426, allocations: 0 / 0.8835 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.5429, allocations: 175.5 kB / 0.8837 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.543, allocations: 81.02 kB / 0.8838 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.543, allocations: 3.953 kB / 0.8838 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.5431, allocations: 16.02 kB / 0.8838 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.5431, allocations: 0 / 0.8838 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.5431, allocations: 0 / 0.8838 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.011e-05/0.5432, allocations: 91.45 kB / 0.8839 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5432, allocations: 0 / 0.8839 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002305/0.5434, allocations: 15.94 kB / 0.8839 GB, free: 8.938 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 () * Number of clocked 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.0002049/0.5436, allocations: 115.2 kB / 0.884 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.5439, allocations: 51.95 kB / 0.8841 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5439, allocations: 0 / 0.8841 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.735e-05/0.544, allocations: 24.05 kB / 0.8841 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.5442, allocations: 4.062 kB / 0.8841 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.5445, allocations: 108.6 kB / 0.8842 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.5448, allocations: 0.685 MB / 0.8849 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.512e-05/0.5448, allocations: 0 / 0.8849 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.5448, allocations: 7.438 kB / 0.8849 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.5448, allocations: 0 / 0.8849 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of Templates: time 0.002455/0.5473, allocations: 495.2 kB / 0.8853 GB, free: 7.41 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)