Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.001017/0.001017, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002356, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007381/0.0007381, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009482/0.001686, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9434/0.9434, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08036/1.024, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001324/0.001324, allocations: 234.6 kB / 244.4 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001091/0.002415, allocations: 471.7 kB / 244.8 MB, free: 14.08 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7472/0.7472, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07917/0.8264, allocations: 42.41 MB / 426.7 MB, free: 5.832 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.61e-07/5.61e-07, allocations: 0 / 428.1 MB, free: 4.434 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.514e-05, allocations: 6.25 kB / 428.1 MB, free: 4.426 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001021/0.001036, allocations: 0.6549 MB / 428.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 7.135e-05/0.001107, allocations: 35.83 kB / 428.8 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.49e-05/0.001122, allocations: 0 / 428.8 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.001136, allocations: 0 / 428.8 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.37e-05/0.00115, allocations: 4 kB / 428.8 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.444e-05/0.001224, allocations: 7.984 kB / 428.8 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.233e-05/0.001286, allocations: 7.984 kB / 428.8 MB, free: 3.715 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.23e-05/0.001319, allocations: 15.92 kB / 428.8 MB, free: 3.699 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.193e-05/0.001351, allocations: 0 / 428.8 MB, free: 3.699 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.058e-05/0.001391, allocations: 0 / 428.8 MB, free: 3.699 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.001403, allocations: 8 kB / 428.8 MB, free: 3.691 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.942e-05/0.001482, allocations: 19.97 kB / 428.9 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.001509, allocations: 4 kB / 428.9 MB, free: 3.668 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.36e-05/0.001522, allocations: 3.938 kB / 428.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.898e-05/0.001601, allocations: 23.92 kB / 428.9 MB, free: 3.641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.001612, allocations: 0 / 428.9 MB, free: 3.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.8e-07/0.001612, allocations: 0 / 428.9 MB, free: 3.641 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.001623, allocations: 7.938 kB / 428.9 MB, free: 3.633 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002401/0.001863, allocations: 250.4 kB / 429.2 MB, free: 3.355 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.718e-05/0.00189, allocations: 11.98 kB / 429.2 MB, free: 3.344 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.001917, allocations: 8.938 kB / 429.2 MB, free: 3.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.265e-05/0.00197, allocations: 101.8 kB / 429.3 MB, free: 3.211 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.001979, allocations: 384 / 429.3 MB, free: 3.211 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.001991, allocations: 8.359 kB / 429.3 MB, free: 3.203 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.504e-05/0.002086, allocations: 70.78 kB / 429.3 MB, free: 3.121 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.002092, allocations: 192 / 429.3 MB, free: 3.121 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.002098, allocations: 4.359 kB / 429.4 MB, free: 3.117 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.002125, allocations: 8.359 kB / 429.4 MB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.662e-05/0.002151, allocations: 49.56 kB / 429.4 MB, free: 3.055 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.00233, allocations: 165.8 kB / 429.6 MB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.328e-05/0.002363, allocations: 44.28 kB / 429.6 MB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.002379, allocations: 50.55 kB / 429.7 MB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-06/0.002381, allocations: 0 / 429.7 MB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.002401, allocations: 38.5 kB / 429.7 MB, free: 2.711 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.22e-07/0.002402, allocations: 0 / 429.7 MB, free: 2.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 9.774e-05/0.002499, allocations: 122.7 kB / 429.8 MB, free: 2.566 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.002519, allocations: 51.41 kB / 429.9 MB, free: 2.504 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.344e-05/0.002573, allocations: 114.7 kB / 430 MB, free: 2.379 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.002581, allocations: 25.7 kB / 430 MB, free: 2.348 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.002622, allocations: 107.9 kB / 430.1 MB, free: 2.238 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.742e-06/0.002629, allocations: 3.953 kB / 430.1 MB, free: 2.234 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.002653, allocations: 25.83 kB / 430.1 MB, free: 2.203 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.291e-05/0.002716, allocations: 314.8 kB / 430.5 MB, free: 1.887 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.002733, allocations: 37.69 kB / 430.5 MB, free: 1.844 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.416e-05/0.002767, allocations: 80.5 kB / 430.6 MB, free: 1.734 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.112e-05/0.002828, allocations: 133 kB / 430.7 MB, free: 1.566 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.00283, allocations: 0 / 430.7 MB, free: 1.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.777e-05/0.002908, allocations: 132.8 kB / 430.8 MB, free: 1.418 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.002935, allocations: 33.7 kB / 430.9 MB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.002938, allocations: 0 / 430.9 MB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.00295, allocations: 4 kB / 430.9 MB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.143e-05/0.002991, allocations: 15.94 kB / 430.9 MB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.002994, allocations: 4.25 kB / 430.9 MB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.451e-05/0.003029, allocations: 19.88 kB / 430.9 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.003039, allocations: 8 kB / 430.9 MB, free: 1.328 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 5.83e-05/0.003097, allocations: 138.4 kB / 431 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.00311, allocations: 3.938 kB / 431 MB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.077e-05/0.00312, allocations: 11.47 kB / 431.1 MB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.003121, allocations: 0 / 431.1 MB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.003123, allocations: 0 / 431.1 MB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.003125, allocations: 0 / 431.1 MB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.294e-05/0.003188, allocations: 65.89 kB / 431.1 MB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.003189, allocations: 4 kB / 431.1 MB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-06/0.00319, allocations: 3.938 kB / 431.1 MB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-06/0.003194, allocations: 0 / 431.1 MB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.003196, allocations: 7.938 kB / 431.1 MB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-06/0.0032, allocations: 0 / 431.1 MB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.003201, allocations: 3.938 kB / 431.1 MB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.003201, allocations: 0 / 431.1 MB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.604e-05/0.003267, allocations: 183 kB / 431.3 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.003275, allocations: 3.984 kB / 431.3 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.456e-05/0.003299, allocations: 3.938 kB / 431.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-06/0.003308, allocations: 4 kB / 431.3 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.003311, allocations: 4.031 kB / 431.3 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.194e-05/0.003323, allocations: 12.84 kB / 431.4 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003323, allocations: 0 / 431.4 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001313/0.003454, allocations: 12 kB / 431.4 MB, free: 0.8125 MB / 410.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.911e-05/0.003544, allocations: 88.41 kB / 431.4 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.31e-05/0.003637, allocations: 140.2 kB / 431.6 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.003642, allocations: 4 kB / 431.6 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.343e-05/0.003675, allocations: 98.05 kB / 431.7 MB, free: 440 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.78e-05/0.003763, allocations: 8 kB / 431.7 MB, free: 432 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001158/0.003879, allocations: 139.7 kB / 431.8 MB, free: 260 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.849e-05/0.003907, allocations: 59.34 kB / 431.9 MB, free: 180 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.181e-05/0.003919, allocations: 3.938 kB / 431.9 MB, free: 176 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.003955, allocations: 59.47 kB / 431.9 MB, free: 116 kB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.003956, allocations: 0 / 431.9 MB, free: 116 kB / 410.7 MB Notification: Performance of Templates: time 0.1643/0.1682, allocations: 0.5293 MB / 432.5 MB, free: 3.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.301513952203095]