Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.Average.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.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001528, allocations: 183.4 kB / 15.76 MB, free: 5.996 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.8443/0.8443, allocations: 82.93 MB / 99.42 MB, free: 3.328 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.107/2.107, allocations: 205.4 MB / 325.4 MB, free: 3.211 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.001033/0.001033, allocations: 94.91 kB / 393.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004495, allocations: 12 kB / 471.5 MB, free: 66.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09725/0.09773, allocations: 67.46 MB / 0.5264 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.001883/0.09966, allocations: 1.214 MB / 0.5275 GB, free: 13.81 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003059/0.09999, allocations: 113.3 kB / 0.5276 GB, free: 13.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.553e-05/0.1001, allocations: 4 kB / 0.5277 GB, free: 13.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.1002, allocations: 15.91 kB / 0.5277 GB, free: 13.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.432e-05/0.1002, allocations: 4 kB / 0.5277 GB, free: 13.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.1004, allocations: 23.97 kB / 0.5277 GB, free: 13.65 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.266e-05/0.1005, allocations: 31.95 kB / 0.5277 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1006, allocations: 23.92 kB / 0.5277 GB, free: 13.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.925e-05/0.1007, allocations: 11.98 kB / 0.5278 GB, free: 13.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.1008, allocations: 35.83 kB / 0.5278 GB, free: 13.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1008, allocations: 4 kB / 0.5278 GB, free: 13.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.857e-05/0.1008, allocations: 4 kB / 0.5278 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.245e-05/0.1009, allocations: 11.98 kB / 0.5278 GB, free: 13.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.1009, allocations: 33.64 kB / 0.5278 GB, free: 13.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.1011, allocations: 35.94 kB / 0.5279 GB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.977e-06/0.1011, allocations: 0 / 0.5279 GB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.603e-06/0.1011, allocations: 3.938 kB / 0.5279 GB, free: 13.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.126e-06/0.1011, allocations: 0 / 0.5279 GB, free: 13.45 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005916/0.1017, allocations: 384.4 kB / 0.5283 GB, free: 13.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1018, allocations: 8.031 kB / 0.5283 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.1018, allocations: 11.91 kB / 0.5283 GB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.102, allocations: 179 kB / 0.5284 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.102, allocations: 4 kB / 0.5284 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.1021, allocations: 4 kB / 0.5284 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.1024, allocations: 109.5 kB / 0.5286 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.379e-06/0.1024, allocations: 0 / 0.5286 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1025, allocations: 0 / 0.5286 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.692e-06/0.1025, allocations: 0 / 0.5286 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.1029, allocations: 103.9 kB / 0.5287 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000651/0.1036, allocations: 344.6 kB / 0.529 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.1038, allocations: 66.55 kB / 0.529 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/0.1039, allocations: 8.078 kB / 0.5291 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.1039, allocations: 34.59 kB / 0.5291 GB, free: 12.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 4.362e-06/0.104, allocations: 3.984 kB / 0.5291 GB, free: 12.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0007088/0.1047, allocations: 173.5 kB / 0.5293 GB, free: 11.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.1047, allocations: 51.41 kB / 0.5293 GB, free: 11.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1049, allocations: 121.7 kB / 0.5294 GB, free: 11.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1049, allocations: 25.7 kB / 0.5294 GB, free: 11.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.105, allocations: 100.1 kB / 0.5295 GB, free: 11.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.105, allocations: 11.81 kB / 0.5295 GB, free: 11.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-06/0.1051, allocations: 0 / 0.5295 GB, free: 11.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1052, allocations: 314.8 kB / 0.5298 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.1054, allocations: 43.95 kB / 0.5299 GB, free: 11.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.1056, allocations: 51.95 kB / 0.5299 GB, free: 11.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.1059, allocations: 47.92 kB / 0.53 GB, free: 11.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.1059, allocations: 3.938 kB / 0.53 GB, free: 11.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000442/0.1063, allocations: 121.6 kB / 0.5301 GB, free: 10.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1064, allocations: 8 kB / 0.5301 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.1064, allocations: 0 / 0.5301 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1064, allocations: 0 / 0.5301 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1066, allocations: 19.98 kB / 0.5301 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1066, allocations: 0 / 0.5301 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.1067, allocations: 27.97 kB / 0.5302 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.1067, allocations: 0 / 0.5302 GB, free: 10.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.000117/0.1069, allocations: 113.8 kB / 0.5303 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.1069, allocations: 7.906 kB / 0.5303 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004982/0.1074, allocations: 145.4 kB / 0.5304 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.1074, allocations: 0 / 0.5304 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.256e-06/0.1075, allocations: 0 / 0.5304 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.824e-06/0.1075, allocations: 0 / 0.5304 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.1077, allocations: 181.6 kB / 0.5306 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.618e-06/0.1078, allocations: 3.953 kB / 0.5306 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.1079, allocations: 19.98 kB / 0.5306 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.853e-06/0.1079, allocations: 0 / 0.5306 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.319e-06/0.108, allocations: 0 / 0.5306 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.337e-06/0.108, allocations: 0 / 0.5306 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.051e-06/0.108, allocations: 0 / 0.5306 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000513/0.1085, allocations: 231.3 kB / 0.5308 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.1086, allocations: 85 kB / 0.5309 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.1086, allocations: 7.938 kB / 0.5309 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.1088, allocations: 19.97 kB / 0.5309 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.1088, allocations: 4 kB / 0.5309 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.1088, allocations: 0 / 0.5309 GB, free: 10 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.806e-05/0.1089, allocations: 91.27 kB / 0.531 GB, free: 9.914 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.1089, allocations: 4 kB / 0.531 GB, free: 9.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006406/0.1096, allocations: 15.94 kB / 0.531 GB, free: 9.895 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0002249/0.1099, allocations: 99.23 kB / 0.5311 GB, free: 9.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006953/0.1106, allocations: 96.34 kB / 0.5312 GB, free: 9.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.539e-06/0.1106, allocations: 4 kB / 0.5312 GB, free: 9.688 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.111, allocations: 55.89 kB / 0.5313 GB, free: 9.633 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.1114, allocations: 0.9375 kB / 0.5313 GB, free: 9.633 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006554/0.1121, allocations: 161.1 kB / 0.5314 GB, free: 9.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.1127, allocations: 0.6926 MB / 0.5321 GB, free: 8.727 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.1128, allocations: 7.984 kB / 0.5321 GB, free: 8.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.1129, allocations: 15.44 kB / 0.5321 GB, free: 8.703 MB / 378.7 MB Notification: Performance of SimCode: time 2.471e-06/0.1129, allocations: 0 / 0.5321 GB, free: 8.703 MB / 378.7 MB Notification: Performance of Templates: time 0.00494/0.1178, allocations: 0.6114 MB / 0.5327 GB, free: 8.102 MB / 378.7 MB