Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00218/0.00218, allocations: 184.9 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.757/0.757, allocations: 82.93 MB / 99.42 MB, free: 3.383 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.284/2.284, allocations: 205.4 MB / 325.4 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 86.86 kB / 393.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005965/0.0005968, allocations: 16 kB / 471.5 MB, free: 66.6 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09199/0.09263, allocations: 67.45 MB / 0.5264 GB, free: 15.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006889/0.09336, allocations: 308.3 kB / 0.5267 GB, free: 14.81 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001792/0.09356, allocations: 37.56 kB / 0.5267 GB, free: 14.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.554e-05/0.09359, allocations: 0 / 0.5267 GB, free: 14.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.09363, allocations: 0 / 0.5267 GB, free: 14.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.042e-05/0.09367, allocations: 0 / 0.5267 GB, free: 14.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.09381, allocations: 7.984 kB / 0.5267 GB, free: 14.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.02e-05/0.09387, allocations: 4 kB / 0.5267 GB, free: 14.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.09392, allocations: 8 kB / 0.5267 GB, free: 14.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.653e-05/0.09395, allocations: 0 / 0.5267 GB, free: 14.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.653e-05/0.09398, allocations: 4 kB / 0.5267 GB, free: 14.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.09401, allocations: 0 / 0.5267 GB, free: 14.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-05/0.09409, allocations: 15.98 kB / 0.5267 GB, free: 14.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.09413, allocations: 3.984 kB / 0.5267 GB, free: 14.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.09418, allocations: 29.64 kB / 0.5268 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.696e-05/0.09425, allocations: 23.91 kB / 0.5268 GB, free: 14.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.416e-06/0.09427, allocations: 0 / 0.5268 GB, free: 14.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.219e-06/0.09428, allocations: 0 / 0.5268 GB, free: 14.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.09429, allocations: 0 / 0.5268 GB, free: 14.67 MB / 378.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.0003408/0.09465, allocations: 353.1 kB / 0.5271 GB, free: 14.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.0947, allocations: 8.031 kB / 0.5271 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.09475, allocations: 7.906 kB / 0.5271 GB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.09487, allocations: 163.3 kB / 0.5273 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.0949, allocations: 0 / 0.5273 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.496e-06/0.09491, allocations: 0 / 0.5273 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.09506, allocations: 61.61 kB / 0.5274 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.754e-06/0.09508, allocations: 0 / 0.5274 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.09511, allocations: 11.89 kB / 0.5274 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.09515, allocations: 15.98 kB / 0.5274 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.103e-05/0.09522, allocations: 23.98 kB / 0.5274 GB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.0956, allocations: 256.8 kB / 0.5276 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.827e-05/0.09566, allocations: 18.58 kB / 0.5277 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.09568, allocations: 0 / 0.5277 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.09572, allocations: 38.48 kB / 0.5277 GB, free: 13.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.97e-06/0.09574, allocations: 4 kB / 0.5277 GB, free: 13.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000185/0.09594, allocations: 67.47 kB / 0.5278 GB, free: 13.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.133e-05/0.09601, allocations: 77.11 kB / 0.5278 GB, free: 13.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.09613, allocations: 113.8 kB / 0.528 GB, free: 13.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.09616, allocations: 25.7 kB / 0.528 GB, free: 13.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.64e-05/0.09625, allocations: 107.9 kB / 0.5281 GB, free: 13.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.09627, allocations: 3.906 kB / 0.5281 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.667e-06/0.09629, allocations: 4 kB / 0.5281 GB, free: 13.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.09646, allocations: 323 kB / 0.5284 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.879e-05/0.0965, allocations: 4 kB / 0.5284 GB, free: 12.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.448e-05/0.0966, allocations: 62.8 kB / 0.5285 GB, free: 12.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.09668, allocations: 49.69 kB / 0.5285 GB, free: 12.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.893e-06/0.09669, allocations: 0 / 0.5285 GB, free: 12.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002216/0.09692, allocations: 123.1 kB / 0.5286 GB, free: 12.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/0.09698, allocations: 34.48 kB / 0.5287 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.81e-06/0.097, allocations: 4.188 kB / 0.5287 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.09702, allocations: 8 kB / 0.5287 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.459e-05/0.09713, allocations: 15.98 kB / 0.5287 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.554e-06/0.09715, allocations: 0 / 0.5287 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.577e-05/0.09724, allocations: 15.78 kB / 0.5287 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.09728, allocations: 8 kB / 0.5287 GB, free: 12.43 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.09742, allocations: 139.5 kB / 0.5288 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.09747, allocations: 7.938 kB / 0.5288 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.24e-05/0.0975, allocations: 7.531 kB / 0.5289 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.09751, allocations: 4 kB / 0.5289 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.812e-06/0.09752, allocations: 0 / 0.5289 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.09753, allocations: 0 / 0.5289 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.09775, allocations: 153.7 kB / 0.529 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-06/0.09776, allocations: 0 / 0.529 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.247e-06/0.09777, allocations: 0 / 0.529 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.979e-06/0.0978, allocations: 7.953 kB / 0.529 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-06/0.09782, allocations: 0 / 0.529 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.955e-06/0.09783, allocations: 0 / 0.529 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.668e-06/0.09784, allocations: 0 / 0.529 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.09801, allocations: 169.2 kB / 0.5292 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.09809, allocations: 84.95 kB / 0.5293 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.09812, allocations: 7.953 kB / 0.5293 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.09821, allocations: 4 kB / 0.5293 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.09824, allocations: 0 / 0.5293 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.09825, allocations: 4 kB / 0.5293 GB, free: 11.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.614e-05/0.09834, allocations: 95.72 kB / 0.5294 GB, free: 11.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.93e-07/0.09835, allocations: 0 / 0.5294 GB, free: 11.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003309/0.09869, allocations: 12.03 kB / 0.5294 GB, free: 11.64 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001852/0.09889, allocations: 107.2 kB / 0.5295 GB, free: 11.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.09906, allocations: 83.33 kB / 0.5296 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.733e-06/0.09908, allocations: 0 / 0.5296 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.1e-05/0.09914, allocations: 59.34 kB / 0.5296 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.09931, allocations: 4.562 kB / 0.5296 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.09958, allocations: 106.7 kB / 0.5297 GB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.09996, allocations: 0.6848 MB / 0.5304 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.553e-05/0.1001, allocations: 12.17 kB / 0.5304 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.379e-05/0.1001, allocations: 7.438 kB / 0.5304 GB, free: 10.49 MB / 378.7 MB Notification: Performance of SimCode: time 1.449e-06/0.1001, allocations: 0 / 0.5304 GB, free: 10.49 MB / 378.7 MB Notification: Performance of Templates: time 0.002966/0.1031, allocations: 492.4 kB / 0.5309 GB, free: 10.02 MB / 378.7 MB