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.001185/0.001185, allocations: 113.9 kB / 17.08 MB, free: 6.016 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.000999/0.0009991, allocations: 197.8 kB / 18.02 MB, free: 5.094 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.264/1.264, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6802/0.6802, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 66.72 kB / 0.5584 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1262, allocations: 76.17 MB / 0.6328 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001613/0.1278, allocations: 0.5765 MB / 0.6333 GB, free: 3.824 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002277/0.1281, allocations: 43.86 kB / 0.6334 GB, free: 3.781 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.1281, allocations: 0 / 0.6334 GB, free: 3.781 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.1281, allocations: 0 / 0.6334 GB, free: 3.781 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.049e-05/0.1282, allocations: 0 / 0.6334 GB, free: 3.781 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.1284, allocations: 15.97 kB / 0.6334 GB, free: 3.766 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.786e-05/0.1285, allocations: 4 kB / 0.6334 GB, free: 3.762 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.1285, allocations: 0 / 0.6334 GB, free: 3.762 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.88e-05/0.1285, allocations: 4 kB / 0.6334 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.1286, allocations: 3.938 kB / 0.6334 GB, free: 3.754 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.1286, allocations: 7.938 kB / 0.6334 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-05/0.1287, allocations: 19.98 kB / 0.6334 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.143e-05/0.1287, allocations: 7.984 kB / 0.6334 GB, free: 3.719 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.1287, allocations: 3.938 kB / 0.6334 GB, free: 3.715 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.823e-05/0.1288, allocations: 35.89 kB / 0.6335 GB, free: 3.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1288, allocations: 0 / 0.6335 GB, free: 3.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1289, allocations: 0 / 0.6335 GB, free: 3.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.1289, allocations: 0 / 0.6335 GB, free: 3.68 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.000311/0.1292, allocations: 349.3 kB / 0.6338 GB, free: 3.281 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1292, allocations: 8.031 kB / 0.6338 GB, free: 3.273 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.1293, allocations: 8.938 kB / 0.6338 GB, free: 3.266 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.884e-05/0.1294, allocations: 164.3 kB / 0.634 GB, free: 3.066 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1294, allocations: 384 / 0.634 GB, free: 3.066 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.1294, allocations: 384 / 0.634 GB, free: 3.066 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.1295, allocations: 58.23 kB / 0.634 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1295, allocations: 4.125 kB / 0.634 GB, free: 3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.1295, allocations: 7.938 kB / 0.634 GB, free: 2.992 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.1296, allocations: 4 kB / 0.634 GB, free: 2.988 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.657e-05/0.1296, allocations: 27.92 kB / 0.6341 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.1299, allocations: 272.8 kB / 0.6343 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.273e-05/0.13, allocations: 18.58 kB / 0.6344 GB, free: 2.617 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.13, allocations: 4.859 kB / 0.6344 GB, free: 2.609 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-06/0.13, allocations: 4.062 kB / 0.6344 GB, free: 2.605 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.13, allocations: 34.5 kB / 0.6344 GB, free: 2.562 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.332e-06/0.13, allocations: 0 / 0.6344 GB, free: 2.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001637/0.1302, allocations: 75.3 kB / 0.6345 GB, free: 2.477 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.1303, allocations: 81.11 kB / 0.6345 GB, free: 2.379 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.184e-05/0.1304, allocations: 109.8 kB / 0.6346 GB, free: 2.262 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.1304, allocations: 25.7 kB / 0.6347 GB, free: 2.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.1304, allocations: 107.8 kB / 0.6348 GB, free: 2.121 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.901e-06/0.1304, allocations: 0 / 0.6348 GB, free: 2.121 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.1305, allocations: 25.97 kB / 0.6348 GB, free: 2.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.1306, allocations: 322.9 kB / 0.6351 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.1306, allocations: 12 kB / 0.6351 GB, free: 1.754 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.295e-05/0.1307, allocations: 62.8 kB / 0.6352 GB, free: 1.668 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1308, allocations: 130.2 kB / 0.6353 GB, free: 1.504 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.1308, allocations: 3.938 kB / 0.6353 GB, free: 1.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000139/0.131, allocations: 123.2 kB / 0.6354 GB, free: 1.367 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.131, allocations: 29.7 kB / 0.6355 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.131, allocations: 4 kB / 0.6355 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.131, allocations: 0 / 0.6355 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.733e-05/0.1311, allocations: 19.92 kB / 0.6355 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1311, allocations: 0 / 0.6355 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.1312, allocations: 19.84 kB / 0.6355 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.1312, allocations: 8 kB / 0.6355 GB, free: 1.281 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 9.208e-05/0.1313, allocations: 147.7 kB / 0.6356 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.1313, allocations: 4 kB / 0.6356 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.48e-05/0.1314, allocations: 11.52 kB / 0.6357 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1314, allocations: 0 / 0.6357 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1314, allocations: 0 / 0.6357 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1314, allocations: 0 / 0.6357 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.1315, allocations: 157.6 kB / 0.6358 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1315, allocations: 0 / 0.6358 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.1315, allocations: 3.938 kB / 0.6358 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1315, allocations: 0 / 0.6358 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.1315, allocations: 4 kB / 0.6358 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1316, allocations: 0 / 0.6358 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1316, allocations: 0 / 0.6358 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.1317, allocations: 165.2 kB / 0.636 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.1317, allocations: 85.02 kB / 0.6361 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.1317, allocations: 3.938 kB / 0.6361 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.677e-05/0.1318, allocations: 3.984 kB / 0.6361 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.1318, allocations: 4.031 kB / 0.6361 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1318, allocations: 8 kB / 0.6361 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.538e-05/0.1319, allocations: 83.28 kB / 0.6362 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1319, allocations: 0 / 0.6362 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.1321, allocations: 15.92 kB / 0.6362 GB, free: 500 kB / 478.1 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.0001319/0.1323, allocations: 107.2 kB / 0.6363 GB, free: 384 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.1324, allocations: 87.58 kB / 0.6364 GB, free: 284 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1324, allocations: 4.188 kB / 0.6364 GB, free: 280 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 2.998e-05/0.1325, allocations: 55.41 kB / 0.6364 GB, free: 212 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.1327, allocations: 5.875 kB / 0.6364 GB, free: 208 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.1329, allocations: 142.7 kB / 0.6366 GB, free: 32 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.1332, allocations: 0.6807 MB / 0.6372 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.416e-05/0.1332, allocations: 7.438 kB / 0.6372 GB, free: 15.32 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1332, allocations: 0 / 0.6372 GB, free: 15.32 MB / 494.1 MB Notification: Performance of Templates: time 0.002043/0.1352, allocations: 0.6758 MB / 0.6379 GB, free: 14.64 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)