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.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 111.4 kB / 17.09 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001229, allocations: 196.3 kB / 18.03 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.677/0.677, allocations: 115.3 MB / 407.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 67.73 kB / 0.5584 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1103, allocations: 76.18 MB / 0.6328 GB, free: 4.328 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001519/0.1119, allocations: 0.5752 MB / 0.6333 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002134/0.1121, allocations: 31.88 kB / 0.6334 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.1121, allocations: 8 kB / 0.6334 GB, free: 3.719 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.1122, allocations: 0 / 0.6334 GB, free: 3.719 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.006e-05/0.1122, allocations: 0 / 0.6334 GB, free: 3.719 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.1124, allocations: 11.98 kB / 0.6334 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.481e-05/0.1125, allocations: 7.984 kB / 0.6334 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.416e-05/0.1125, allocations: 0 / 0.6334 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.981e-05/0.1125, allocations: 8 kB / 0.6334 GB, free: 3.691 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.653e-05/0.1126, allocations: 3.938 kB / 0.6334 GB, free: 3.688 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.1126, allocations: 0 / 0.6334 GB, free: 3.688 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.05e-05/0.1127, allocations: 15.98 kB / 0.6334 GB, free: 3.672 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.1127, allocations: 8 kB / 0.6334 GB, free: 3.664 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.1127, allocations: 11.88 kB / 0.6335 GB, free: 3.652 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.475e-05/0.1128, allocations: 27.89 kB / 0.6335 GB, free: 3.625 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1128, allocations: 4 kB / 0.6335 GB, free: 3.621 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1128, allocations: 0 / 0.6335 GB, free: 3.621 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1128, allocations: 0 / 0.6335 GB, free: 3.621 MB / 478.1 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.0003094/0.1131, allocations: 349.3 kB / 0.6338 GB, free: 3.223 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1132, allocations: 8.031 kB / 0.6338 GB, free: 3.215 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.1132, allocations: 0.9375 kB / 0.6338 GB, free: 3.215 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.936e-05/0.1133, allocations: 168.3 kB / 0.634 GB, free: 3.012 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1133, allocations: 4.375 kB / 0.634 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.1133, allocations: 384 / 0.634 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.1135, allocations: 54.25 kB / 0.634 GB, free: 2.949 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.1135, allocations: 192 / 0.634 GB, free: 2.949 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.1135, allocations: 3.938 kB / 0.634 GB, free: 2.945 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.1135, allocations: 15.98 kB / 0.6341 GB, free: 2.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.416e-05/0.1136, allocations: 27.92 kB / 0.6341 GB, free: 2.902 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.1138, allocations: 264.8 kB / 0.6343 GB, free: 2.594 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.585e-05/0.1139, allocations: 22.56 kB / 0.6344 GB, free: 2.562 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.1139, allocations: 4.859 kB / 0.6344 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-06/0.1139, allocations: 0 / 0.6344 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.114, allocations: 38.62 kB / 0.6344 GB, free: 2.508 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 2.334e-06/0.114, allocations: 0 / 0.6344 GB, free: 2.508 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001394/0.1141, allocations: 67.25 kB / 0.6345 GB, free: 2.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.1141, allocations: 85.22 kB / 0.6345 GB, free: 2.328 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.1142, allocations: 117.8 kB / 0.6347 GB, free: 2.203 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.1142, allocations: 33.64 kB / 0.6347 GB, free: 2.164 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.1143, allocations: 95.8 kB / 0.6348 GB, free: 2.066 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.336e-06/0.1143, allocations: 7.984 kB / 0.6348 GB, free: 2.059 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.1144, allocations: 29.97 kB / 0.6348 GB, free: 2.023 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.1144, allocations: 314.8 kB / 0.6351 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/0.1145, allocations: 15.98 kB / 0.6351 GB, free: 1.691 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.647e-05/0.1145, allocations: 62.8 kB / 0.6352 GB, free: 1.605 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.517e-05/0.1146, allocations: 134.2 kB / 0.6353 GB, free: 1.438 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1146, allocations: 0 / 0.6353 GB, free: 1.438 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001378/0.1148, allocations: 123.4 kB / 0.6354 GB, free: 1.305 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.1148, allocations: 37.64 kB / 0.6355 GB, free: 1.262 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1148, allocations: 0 / 0.6355 GB, free: 1.262 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1148, allocations: 4 kB / 0.6355 GB, free: 1.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.65e-05/0.1149, allocations: 12 kB / 0.6355 GB, free: 1.246 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1149, allocations: 7.922 kB / 0.6355 GB, free: 1.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.115, allocations: 11.84 kB / 0.6355 GB, free: 1.227 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.115, allocations: 8 kB / 0.6355 GB, free: 1.219 MB / 478.1 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 7.865e-05/0.1151, allocations: 143.5 kB / 0.6357 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.1151, allocations: 4.031 kB / 0.6357 GB, free: 1.059 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.391e-05/0.1151, allocations: 15.5 kB / 0.6357 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.1151, allocations: 0 / 0.6357 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1151, allocations: 0 / 0.6357 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.1152, allocations: 77.11 kB / 0.6357 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.1152, allocations: 7.938 kB / 0.6358 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.001e-05/0.1152, allocations: 0 / 0.6358 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-06/0.1153, allocations: 0 / 0.6358 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001076/0.1154, allocations: 198 kB / 0.6359 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001222/0.1155, allocations: 248.5 kB / 0.6362 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.342e-05/0.1155, allocations: 0 / 0.6362 GB, free: 464 kB / 478.1 MB Notification: Performance of sorting global known variables: time 4.488e-05/0.1156, allocations: 95.2 kB / 0.6363 GB, free: 368 kB / 478.1 MB Notification: Performance of Backend: time 2.01e-07/0.1156, allocations: 0 / 0.6363 GB, free: 368 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003759/0.116, allocations: 171.8 kB / 0.6364 GB, free: 180 kB / 478.1 MB Notification: Performance of SimCode: time 0.0003548/0.1163, allocations: 0.6031 MB / 0.637 GB, free: 15.51 MB / 494.1 MB Notification: Performance of Templates: time 0.002333/0.1187, allocations: 0.5468 MB / 0.6376 GB, free: 14.97 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)