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.002643/0.002642, allocations: 358.7 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.421/1.421, allocations: 165.8 MB / 183.1 MB, free: 5.418 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.826/3.826, allocations: 410.8 MB / 0.6001 GB, free: 15.12 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001769/0.001769, allocations: 205.1 kB / 0.6668 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006158/0.000616, allocations: 12 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4485, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.001689/0.4502, allocations: 1.231 MB / 0.8099 GB, free: 27.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002993/0.4506, allocations: 107.6 kB / 0.81 GB, free: 27.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.4507, allocations: 4 kB / 0.81 GB, free: 27.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.4508, allocations: 3.938 kB / 0.8101 GB, free: 27.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.856e-05/0.4508, allocations: 7.938 kB / 0.8101 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.451, allocations: 23.97 kB / 0.8101 GB, free: 27.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.571e-05/0.4511, allocations: 47.84 kB / 0.8101 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.4512, allocations: 19.97 kB / 0.8101 GB, free: 27.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.144e-05/0.4513, allocations: 19.92 kB / 0.8102 GB, free: 27.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.4514, allocations: 27.84 kB / 0.8102 GB, free: 27.28 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.4514, allocations: 8 kB / 0.8102 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.791e-05/0.4515, allocations: 4 kB / 0.8102 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.4515, allocations: 11.98 kB / 0.8102 GB, free: 27.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.4516, allocations: 33.64 kB / 0.8102 GB, free: 27.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.637e-05/0.4517, allocations: 39.92 kB / 0.8103 GB, free: 27.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4517, allocations: 0 / 0.8103 GB, free: 27.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4517, allocations: 3.938 kB / 0.8103 GB, free: 27.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.4517, allocations: 0 / 0.8103 GB, free: 27.17 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.0005639/0.4523, allocations: 385.2 kB / 0.8107 GB, free: 26.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.4523, allocations: 8.031 kB / 0.8107 GB, free: 26.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.4524, allocations: 7.906 kB / 0.8107 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.4525, allocations: 175 kB / 0.8108 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.4526, allocations: 8 kB / 0.8108 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.4526, allocations: 4 kB / 0.8108 GB, free: 26.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.4531, allocations: 109.5 kB / 0.811 GB, free: 26.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.4531, allocations: 4 kB / 0.811 GB, free: 26.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.4532, allocations: 0 / 0.811 GB, free: 26.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4532, allocations: 0 / 0.811 GB, free: 26.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007153/0.4539, allocations: 99.92 kB / 0.8111 GB, free: 26.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000861/0.4548, allocations: 344.6 kB / 0.8114 GB, free: 25.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.4552, allocations: 70.53 kB / 0.8114 GB, free: 25.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.4556, allocations: 48.86 kB / 0.8115 GB, free: 25.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.715e-05/0.4557, allocations: 8 kB / 0.8115 GB, free: 25.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.4557, allocations: 30.56 kB / 0.8115 GB, free: 25.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.996e-06/0.4558, allocations: 0 / 0.8115 GB, free: 25.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.001187/0.457, allocations: 177.8 kB / 0.8117 GB, free: 25.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.457, allocations: 59.34 kB / 0.8118 GB, free: 25.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.4571, allocations: 113.8 kB / 0.8119 GB, free: 25.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.4572, allocations: 29.7 kB / 0.8119 GB, free: 25.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.4572, allocations: 92.05 kB / 0.812 GB, free: 25.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.4573, allocations: 11.83 kB / 0.812 GB, free: 25.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-06/0.4573, allocations: 0 / 0.812 GB, free: 25.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.4574, allocations: 318.8 kB / 0.8123 GB, free: 24.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.4577, allocations: 47.95 kB / 0.8123 GB, free: 24.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.4581, allocations: 47.95 kB / 0.8124 GB, free: 24.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.4585, allocations: 51.91 kB / 0.8124 GB, free: 24.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4585, allocations: 0 / 0.8124 GB, free: 24.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008336/0.4594, allocations: 137.5 kB / 0.8126 GB, free: 24.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.4594, allocations: 6.812 kB / 0.8126 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4594, allocations: 0 / 0.8126 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4595, allocations: 0 / 0.8126 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.4597, allocations: 23.98 kB / 0.8126 GB, free: 24.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.4598, allocations: 0 / 0.8126 GB, free: 24.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.46, allocations: 15.98 kB / 0.8126 GB, free: 24.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.46, allocations: 0 / 0.8126 GB, free: 24.57 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.0001483/0.4602, allocations: 121.8 kB / 0.8127 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.4603, allocations: 11.91 kB / 0.8127 GB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009074/0.4612, allocations: 133.5 kB / 0.8129 GB, free: 24.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4612, allocations: 0 / 0.8129 GB, free: 24.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4612, allocations: 7.984 kB / 0.8129 GB, free: 24.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.4613, allocations: 77.11 kB / 0.813 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.4613, allocations: 0 / 0.813 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.4616, allocations: 15.98 kB / 0.813 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.4617, allocations: 7.984 kB / 0.813 GB, free: 24.17 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001007/0.4627, allocations: 216.8 kB / 0.8132 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000915/0.4637, allocations: 302.6 kB / 0.8135 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004246/0.4641, allocations: 55.95 kB / 0.8135 GB, free: 23.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.035e-05/0.4642, allocations: 95.2 kB / 0.8136 GB, free: 23.49 MB / 378.7 MB Notification: Performance of Backend: time 8.71e-07/0.4642, allocations: 0 / 0.8136 GB, free: 23.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.4653, allocations: 130.3 kB / 0.8137 GB, free: 23.36 MB / 378.7 MB Notification: Performance of SimCode: time 0.0006368/0.466, allocations: 0.6034 MB / 0.8143 GB, free: 22.7 MB / 378.7 MB Notification: Performance of Templates: time 0.004947/0.4709, allocations: 0.7818 MB / 0.8151 GB, free: 21.93 MB / 378.7 MB