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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009322/0.0009322, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.08/1.08, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00169/0.00169, allocations: 243 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7167/0.7167, allocations: 138.4 MB / 402.2 MB, free: 0.5508 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 462.3 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.555e-05, allocations: 5.469 kB / 462.3 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002139/0.002164, allocations: 1.501 MB / 463.8 MB, free: 15.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003784/0.002543, allocations: 190.5 kB / 464 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.002577, allocations: 1.781 kB / 464 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.002606, allocations: 4.5 kB / 464 MB, free: 15.78 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.552e-05/0.002652, allocations: 4.672 kB / 464 MB, free: 15.78 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.002907, allocations: 37.7 kB / 464 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.382e-05/0.002971, allocations: 21.39 kB / 464.1 MB, free: 15.76 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.103e-05/0.003042, allocations: 4.875 kB / 464.1 MB, free: 15.76 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.794e-05/0.0031, allocations: 16.69 kB / 464.1 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.563e-05/0.003136, allocations: 8.453 kB / 464.1 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.003151, allocations: 2.594 kB / 464.1 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.515e-05/0.003236, allocations: 40.22 kB / 464.1 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.003251, allocations: 2.766 kB / 464.1 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.47e-05/0.003266, allocations: 10.59 kB / 464.1 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.003374, allocations: 45.25 kB / 464.2 MB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.003377, allocations: 1.312 kB / 464.2 MB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003378, allocations: 0 / 464.2 MB, free: 15.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.003381, allocations: 1.969 kB / 464.2 MB, free: 15.71 MB / 426.7 MB 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.0002847/0.003666, allocations: 237.9 kB / 464.4 MB, free: 15.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.003699, allocations: 10.39 kB / 464.4 MB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.003723, allocations: 3.562 kB / 464.4 MB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.382e-05/0.003797, allocations: 113.6 kB / 464.6 MB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.003806, allocations: 0.9375 kB / 464.6 MB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.003817, allocations: 1.875 kB / 464.6 MB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.003917, allocations: 56.75 kB / 464.6 MB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.003923, allocations: 0.75 kB / 464.6 MB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.00393, allocations: 0.9375 kB / 464.6 MB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.003935, allocations: 2.344 kB / 464.6 MB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.003957, allocations: 11.61 kB / 464.6 MB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.004157, allocations: 150 kB / 464.8 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.999e-05/0.004197, allocations: 20.19 kB / 464.8 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.004213, allocations: 7.047 kB / 464.8 MB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.004449, allocations: 60.03 kB / 464.9 MB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.004473, allocations: 31.56 kB / 464.9 MB, free: 15.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.004474, allocations: 3.938 kB / 464.9 MB, free: 15.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001071/0.004582, allocations: 46.2 kB / 464.9 MB, free: 15.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.004611, allocations: 56.22 kB / 465 MB, free: 14.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.61e-05/0.004667, allocations: 110.2 kB / 465.1 MB, free: 14.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.445e-06/0.004676, allocations: 25.7 kB / 465.1 MB, free: 14.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.004703, allocations: 82.64 kB / 465.2 MB, free: 14.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.00472, allocations: 5.359 kB / 465.2 MB, free: 14.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.004744, allocations: 17.08 kB / 465.2 MB, free: 14.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.873e-05/0.004823, allocations: 316.7 kB / 465.5 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-06/0.004831, allocations: 0.8438 kB / 465.5 MB, free: 14.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.004838, allocations: 3 kB / 465.5 MB, free: 14.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.177e-05/0.00486, allocations: 15.23 kB / 465.6 MB, free: 14.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.004862, allocations: 0 / 465.6 MB, free: 14.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.938e-05/0.004901, allocations: 40.83 kB / 465.6 MB, free: 14.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.004913, allocations: 5.531 kB / 465.6 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.004918, allocations: 0.7031 kB / 465.6 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.004928, allocations: 0.7188 kB / 465.6 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.578e-05/0.004974, allocations: 13.66 kB / 465.6 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.004976, allocations: 0 / 465.6 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.464e-05/0.004991, allocations: 3.5 kB / 465.6 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.004994, allocations: 1.375 kB / 465.6 MB, free: 14.36 MB / 426.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/0.005043, allocations: 110.9 kB / 465.7 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.005056, allocations: 2.906 kB / 465.7 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.698e-05/0.005123, allocations: 50.45 kB / 465.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005125, allocations: 1.641 kB / 465.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.005128, allocations: 6.25 kB / 465.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.00513, allocations: 0 / 465.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.122e-05/0.005212, allocations: 78.27 kB / 465.9 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.005213, allocations: 2.312 kB / 465.9 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.00523, allocations: 5.125 kB / 465.9 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.005232, allocations: 2.922 kB / 465.9 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.005236, allocations: 0 / 465.9 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005237, allocations: 1.281 kB / 465.9 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005237, allocations: 0.6562 kB / 465.9 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.868e-05/0.005306, allocations: 141.9 kB / 466 MB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-06/0.005312, allocations: 1.781 kB / 466 MB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-06/0.00532, allocations: 5.156 kB / 466 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.882e-05/0.005348, allocations: 4.062 kB / 466 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.005373, allocations: 3.141 kB / 466 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.005376, allocations: 4.625 kB / 466 MB, free: 13.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.311e-05/0.005389, allocations: 17.58 kB / 466.1 MB, free: 13.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005389, allocations: 0 / 466.1 MB, free: 13.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001274/0.005517, allocations: 10.28 kB / 466.1 MB, free: 13.95 MB / 426.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001118/0.005629, allocations: 84.83 kB / 466.1 MB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.557e-05/0.005684, allocations: 12.52 kB / 466.2 MB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.005687, allocations: 0 / 466.2 MB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.545e-05/0.005702, allocations: 17.62 kB / 466.2 MB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.005828, allocations: 9.812 kB / 466.2 MB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001932/0.006021, allocations: 101.9 kB / 466.3 MB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.85e-05/0.006049, allocations: 55.92 kB / 466.3 MB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.529e-05/0.006064, allocations: 4.234 kB / 466.3 MB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.006101, allocations: 52.27 kB / 466.4 MB, free: 13.64 MB / 426.7 MB Notification: Performance of SimCode: time 7.92e-07/0.006102, allocations: 1.469 kB / 466.4 MB, free: 13.64 MB / 426.7 MB Notification: Performance of Templates: time 0.00225/0.008352, allocations: 0.627 MB / 467 MB, free: 13.59 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5351561373099685]