Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001169/0.001169, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.004315/0.004315, allocations: 174.7 kB / 24.84 MB, free: 9.242 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 0.9652/0.9652, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.7624/0.7624, allocations: 115 MB / 376.8 MB, free: 7.48 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 482.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.049e-05, allocations: 6.578 kB / 482.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001107/0.001127, allocations: 0.6046 MB / 483.4 MB, free: 11.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000179/0.001306, allocations: 41.55 kB / 483.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.00133, allocations: 0 / 483.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.607e-05/0.001366, allocations: 6.375 kB / 483.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.606e-05/0.001402, allocations: 0.75 kB / 483.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.001591, allocations: 14.09 kB / 483.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.33e-05/0.001655, allocations: 1.438 kB / 483.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.00169, allocations: 5.422 kB / 483.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.205e-05/0.001722, allocations: 7.219 kB / 483.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.833e-05/0.00176, allocations: 0 / 483.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.001774, allocations: 2.156 kB / 483.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.431e-05/0.001848, allocations: 16.66 kB / 483.5 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.001878, allocations: 9.578 kB / 483.5 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.481e-05/0.001892, allocations: 4.781 kB / 483.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.266e-05/0.001975, allocations: 25.06 kB / 483.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.001977, allocations: 5.469 kB / 483.5 MB, free: 11.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.001978, allocations: 0 / 483.5 MB, free: 11.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.001982, allocations: 0.5625 kB / 483.5 MB, free: 11.31 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.0002156/0.002198, allocations: 380.3 kB / 483.9 MB, free: 10.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.002229, allocations: 11.09 kB / 483.9 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.002256, allocations: 4.781 kB / 483.9 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.018e-05/0.002296, allocations: 108.6 kB / 484 MB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.002306, allocations: 384 / 484 MB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.002313, allocations: 3.875 kB / 484 MB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.131e-05/0.002384, allocations: 69 kB / 484.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.002391, allocations: 0.875 kB / 484.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-06/0.002396, allocations: 384 / 484.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.00242, allocations: 7.281 kB / 484.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.002442, allocations: 51.52 kB / 484.2 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.002618, allocations: 246.2 kB / 484.4 MB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.475e-05/0.002653, allocations: 52.42 kB / 484.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.267e-05/0.002665, allocations: 40.77 kB / 484.5 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-06/0.002669, allocations: 3.938 kB / 484.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.002684, allocations: 36.92 kB / 484.5 MB, free: 10.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.002685, allocations: 0 / 484.5 MB, free: 10.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001221/0.002807, allocations: 124.1 kB / 484.7 MB, free: 10.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.002828, allocations: 80.55 kB / 484.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.829e-05/0.002877, allocations: 180.7 kB / 484.9 MB, free: 9.855 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-06/0.002882, allocations: 25.7 kB / 484.9 MB, free: 9.824 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.003088, allocations: 158.7 kB / 485.1 MB, free: 25.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-06/0.003093, allocations: 3.953 kB / 485.1 MB, free: 25.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.003121, allocations: 27.25 kB / 485.1 MB, free: 25.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.003233, allocations: 500 kB / 485.6 MB, free: 25.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.003252, allocations: 31.89 kB / 485.6 MB, free: 25.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/0.003287, allocations: 103.9 kB / 485.8 MB, free: 24.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.791e-05/0.003345, allocations: 147.2 kB / 485.9 MB, free: 24.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.003348, allocations: 5.344 kB / 485.9 MB, free: 24.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.731e-05/0.003445, allocations: 138 kB / 486 MB, free: 24.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.003469, allocations: 37.14 kB / 486.1 MB, free: 24.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.003475, allocations: 3.344 kB / 486.1 MB, free: 24.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.003484, allocations: 2.625 kB / 486.1 MB, free: 24.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.577e-05/0.00353, allocations: 13.91 kB / 486.1 MB, free: 24.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.003534, allocations: 3.156 kB / 486.1 MB, free: 24.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.003578, allocations: 12.73 kB / 486.1 MB, free: 24.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.00359, allocations: 9.062 kB / 486.1 MB, free: 24.65 MB / 426.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 6.843e-05/0.003659, allocations: 186.7 kB / 486.3 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.003679, allocations: 7.25 kB / 486.3 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.337e-05/0.003692, allocations: 8.594 kB / 486.3 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.003694, allocations: 1.094 kB / 486.3 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.003695, allocations: 1.094 kB / 486.3 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.003697, allocations: 0 / 486.3 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.455e-05/0.003772, allocations: 96.78 kB / 486.4 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.003773, allocations: 4.625 kB / 486.4 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-07/0.003774, allocations: 0.7812 kB / 486.4 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-07/0.003775, allocations: 0.5 kB / 486.4 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.003779, allocations: 5.906 kB / 486.4 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.00378, allocations: 1.25 kB / 486.4 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.00378, allocations: 0.9688 kB / 486.4 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.657e-05/0.003877, allocations: 240.9 kB / 486.7 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-06/0.003885, allocations: 10.11 kB / 486.7 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.003894, allocations: 5.031 kB / 486.7 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.128e-05/0.003925, allocations: 1.156 kB / 486.7 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-06/0.003934, allocations: 5.5 kB / 486.7 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.003938, allocations: 5.719 kB / 486.7 MB, free: 24.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.638e-05/0.003974, allocations: 128 kB / 486.8 MB, free: 23.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003974, allocations: 1.375 kB / 486.8 MB, free: 23.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001553/0.00413, allocations: 10.09 kB / 486.8 MB, free: 23.94 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 (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 0.0003715/0.004501, allocations: 101.4 kB / 486.9 MB, free: 23.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.004606, allocations: 146.6 kB / 487.1 MB, free: 23.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.004607, allocations: 0 / 487.1 MB, free: 23.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.004636, allocations: 89.33 kB / 487.2 MB, free: 23.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.00477, allocations: 3.656 kB / 487.2 MB, free: 23.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001569/0.004927, allocations: 137.1 kB / 487.3 MB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.38e-05/0.00495, allocations: 59.3 kB / 487.3 MB, free: 23.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.046e-05/0.004971, allocations: 1.344 kB / 487.3 MB, free: 23.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.005014, allocations: 80.42 kB / 487.4 MB, free: 23.31 MB / 426.7 MB Notification: Performance of SimCode: time 5.62e-07/0.005015, allocations: 0 / 487.4 MB, free: 23.31 MB / 426.7 MB Notification: Performance of Templates: time 0.002073/0.007088, allocations: 0.6028 MB / 488 MB, free: 23.25 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6426998781971633]