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.001002/0.001002, allocations: 96.09 kB / 20.43 MB, free: 4.141 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.001816/0.001816, allocations: 165 kB / 23.8 MB, free: 0.7734 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.9939/0.9939, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.6035/0.6035, allocations: 115 MB / 375.7 MB, free: 7.656 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.884e-06/1.884e-06, allocations: 0 / 481.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.433e-05, allocations: 2.312 kB / 481.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001254/0.001278, allocations: 0.6009 MB / 482.2 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001868/0.001465, allocations: 41 kB / 482.2 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.098e-05/0.001486, allocations: 1.75 kB / 482.2 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.00152, allocations: 0 / 482.2 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.465e-05/0.001555, allocations: 2.625 kB / 482.2 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.001746, allocations: 10.95 kB / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.73e-05/0.001814, allocations: 15.12 kB / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.058e-05/0.001844, allocations: 3.375 kB / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.983e-05/0.001874, allocations: 5.172 kB / 482.2 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.028e-05/0.001914, allocations: 0.8125 kB / 482.2 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.001928, allocations: 1.531 kB / 482.2 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.001994, allocations: 19.34 kB / 482.3 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.002021, allocations: 4.938 kB / 482.3 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.00204, allocations: 0 / 482.3 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.922e-05/0.002129, allocations: 33.09 kB / 482.3 MB, free: 11.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002131, allocations: 1.594 kB / 482.3 MB, free: 11.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.002131, allocations: 1.281 kB / 482.3 MB, free: 11.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.002135, allocations: 0 / 482.3 MB, free: 11.49 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.0002131/0.002348, allocations: 378.6 kB / 482.7 MB, free: 11.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.002383, allocations: 9.75 kB / 482.7 MB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.001e-05/0.002453, allocations: 10.06 kB / 482.7 MB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.981e-05/0.002493, allocations: 104.6 kB / 482.8 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.002504, allocations: 7.109 kB / 482.8 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.002515, allocations: 8.297 kB / 482.8 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.068e-05/0.002606, allocations: 63.31 kB / 482.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.002613, allocations: 192 / 482.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.002621, allocations: 1.312 kB / 482.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.002652, allocations: 8.625 kB / 482.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.752e-05/0.002679, allocations: 43.91 kB / 482.9 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.002916, allocations: 264 kB / 483.2 MB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.915e-05/0.002955, allocations: 60.11 kB / 483.2 MB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.002972, allocations: 40.64 kB / 483.3 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-06/0.002975, allocations: 0 / 483.3 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.002993, allocations: 34.14 kB / 483.3 MB, free: 10.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.002994, allocations: 0 / 483.3 MB, free: 10.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001421/0.003136, allocations: 120.4 kB / 483.4 MB, free: 10.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.003158, allocations: 80.58 kB / 483.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.182e-05/0.00322, allocations: 188 kB / 483.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.003226, allocations: 28.61 kB / 483.7 MB, free: 9.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.003478, allocations: 152.8 kB / 483.9 MB, free: 25.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.915e-06/0.003486, allocations: 7.844 kB / 483.9 MB, free: 25.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.003515, allocations: 28.5 kB / 483.9 MB, free: 25.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.003635, allocations: 0.4903 MB / 484.4 MB, free: 25.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.367e-05/0.003659, allocations: 34.28 kB / 484.4 MB, free: 25.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.003699, allocations: 104.7 kB / 484.5 MB, free: 25.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.405e-05/0.003763, allocations: 148.7 kB / 484.7 MB, free: 24.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.003765, allocations: 1.594 kB / 484.7 MB, free: 24.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001024/0.003868, allocations: 142.5 kB / 484.8 MB, free: 24.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.00389, allocations: 34.91 kB / 484.8 MB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.003896, allocations: 4.281 kB / 484.9 MB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.003912, allocations: 2.031 kB / 484.9 MB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.938e-05/0.003971, allocations: 12.12 kB / 484.9 MB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.003978, allocations: 0.5938 kB / 484.9 MB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.004029, allocations: 8.297 kB / 484.9 MB, free: 24.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.004045, allocations: 8.406 kB / 484.9 MB, free: 24.81 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.271e-05/0.004108, allocations: 197.2 kB / 485.1 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.004124, allocations: 6.656 kB / 485.1 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.598e-05/0.00414, allocations: 5.25 kB / 485.1 MB, free: 24.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.004142, allocations: 0 / 485.1 MB, free: 24.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.004145, allocations: 5.094 kB / 485.1 MB, free: 24.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.004148, allocations: 0 / 485.1 MB, free: 24.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.147e-05/0.00422, allocations: 118.6 kB / 485.2 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.004221, allocations: 0 / 485.2 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-06/0.004222, allocations: 3.938 kB / 485.2 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.004223, allocations: 1.312 kB / 485.2 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.00423, allocations: 4.531 kB / 485.2 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.00423, allocations: 0.9062 kB / 485.2 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.004231, allocations: 0 / 485.2 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.004341, allocations: 250.6 kB / 485.5 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.004351, allocations: 6.219 kB / 485.5 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.004361, allocations: 0.9688 kB / 485.5 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.004396, allocations: 0.9375 kB / 485.5 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.004409, allocations: 1.156 kB / 485.5 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.004414, allocations: 4.438 kB / 485.5 MB, free: 24.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.093e-05/0.004455, allocations: 132.2 kB / 485.6 MB, free: 24.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004455, allocations: 0 / 485.6 MB, free: 24.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001674/0.004623, allocations: 8.938 kB / 485.6 MB, free: 24.07 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.0001219/0.004744, allocations: 108.5 kB / 485.7 MB, free: 23.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.004863, allocations: 140.9 kB / 485.9 MB, free: 23.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.004865, allocations: 1.125 kB / 485.9 MB, free: 23.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.248e-05/0.004887, allocations: 88.11 kB / 485.9 MB, free: 23.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.005034, allocations: 15.05 kB / 486 MB, free: 23.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000203/0.005237, allocations: 136.7 kB / 486.1 MB, free: 23.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.016e-05/0.005267, allocations: 54.11 kB / 486.1 MB, free: 23.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.348e-05/0.005311, allocations: 14.92 kB / 486.2 MB, free: 23.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.414e-05/0.005325, allocations: 12.31 kB / 486.2 MB, free: 23.5 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.005325, allocations: 0 / 486.2 MB, free: 23.5 MB / 426.7 MB Notification: Performance of Templates: time 0.002278/0.007604, allocations: 0.5717 MB / 486.7 MB, free: 23.43 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.6510125286877155]