Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.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.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 104.6 kB / 16.27 MB, free: 6.355 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.001152/0.001152, allocations: 191.4 kB / 17.2 MB, free: 5.953 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.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8381/0.8381, allocations: 125.4 MB / 416.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002324, allocations: 71.89 kB / 0.4941 GB, free: 4.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4407, allocations: 78.55 MB / 0.5709 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002737/0.4435, allocations: 1.519 MB / 0.5723 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003136/0.4438, allocations: 115.5 kB / 0.5725 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.4439, allocations: 1.406 kB / 0.5725 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.444, allocations: 7.703 kB / 0.5725 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.397e-05/0.444, allocations: 5.047 kB / 0.5725 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.4443, allocations: 34.97 kB / 0.5725 GB, free: 30.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.4444, allocations: 54.89 kB / 0.5726 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.4445, allocations: 26.53 kB / 0.5726 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.74e-05/0.4446, allocations: 26.47 kB / 0.5726 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.937e-05/0.4447, allocations: 32.67 kB / 0.5726 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.4447, allocations: 4.844 kB / 0.5726 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.617e-05/0.4448, allocations: 14.66 kB / 0.5727 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.4448, allocations: 14.61 kB / 0.5727 GB, free: 30.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.4449, allocations: 28.02 kB / 0.5727 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.445, allocations: 55.28 kB / 0.5727 GB, free: 30.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.445, allocations: 4 kB / 0.5727 GB, free: 30.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.445, allocations: 0 / 0.5727 GB, free: 30.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.445, allocations: 1.156 kB / 0.5728 GB, free: 30.06 MB / 446.1 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.0005165/0.4456, allocations: 378.8 kB / 0.5731 GB, free: 29.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.4456, allocations: 14.28 kB / 0.5731 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.4457, allocations: 8.125 kB / 0.5731 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.4458, allocations: 188.3 kB / 0.5733 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.4458, allocations: 5.812 kB / 0.5733 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.4458, allocations: 8.391 kB / 0.5733 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.4461, allocations: 91.17 kB / 0.5734 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4461, allocations: 1.219 kB / 0.5734 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4462, allocations: 3.938 kB / 0.5734 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.4462, allocations: 1.766 kB / 0.5734 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.4465, allocations: 81.81 kB / 0.5735 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.447, allocations: 327 kB / 0.5738 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.4472, allocations: 60.03 kB / 0.5739 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.4474, allocations: 40.3 kB / 0.5739 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.4474, allocations: 2.219 kB / 0.5739 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.4474, allocations: 46.88 kB / 0.574 GB, free: 29.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.4474, allocations: 0 / 0.574 GB, free: 29.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005588/0.448, allocations: 135.5 kB / 0.5741 GB, free: 28.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.448, allocations: 54.12 kB / 0.5741 GB, free: 28.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.4481, allocations: 117.4 kB / 0.5742 GB, free: 28.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.4481, allocations: 25.7 kB / 0.5743 GB, free: 28.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.4482, allocations: 93.59 kB / 0.5744 GB, free: 28.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.4482, allocations: 10.81 kB / 0.5744 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.4482, allocations: 17.52 kB / 0.5744 GB, free: 28.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.177e-05/0.4483, allocations: 319.5 kB / 0.5747 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.4484, allocations: 38.08 kB / 0.5747 GB, free: 28.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.4486, allocations: 33.64 kB / 0.5748 GB, free: 28.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.4489, allocations: 77.03 kB / 0.5748 GB, free: 28.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4489, allocations: 0 / 0.5748 GB, free: 28.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003367/0.4492, allocations: 106.4 kB / 0.5749 GB, free: 28.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.4493, allocations: 7.375 kB / 0.5749 GB, free: 28.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4493, allocations: 0 / 0.5749 GB, free: 28.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4493, allocations: 1.922 kB / 0.5749 GB, free: 28.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.4494, allocations: 15.25 kB / 0.575 GB, free: 28.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4494, allocations: 2.375 kB / 0.575 GB, free: 28.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.986e-05/0.4495, allocations: 15.59 kB / 0.575 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.4495, allocations: 1.844 kB / 0.575 GB, free: 28.25 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.822e-05/0.4496, allocations: 120.5 kB / 0.5751 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.4496, allocations: 7.812 kB / 0.5751 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.45, allocations: 119.4 kB / 0.5752 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.45, allocations: 2.094 kB / 0.5752 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.45, allocations: 1.547 kB / 0.5752 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.45, allocations: 0 / 0.5752 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.4502, allocations: 178.3 kB / 0.5754 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4502, allocations: 0 / 0.5754 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.739e-05/0.4503, allocations: 18.34 kB / 0.5754 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.4503, allocations: 4.641 kB / 0.5754 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/0.4503, allocations: 5.125 kB / 0.5754 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4503, allocations: 1.281 kB / 0.5754 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4503, allocations: 0.6562 kB / 0.5754 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.4507, allocations: 205.5 kB / 0.5756 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.4507, allocations: 83.94 kB / 0.5757 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.4507, allocations: 1.062 kB / 0.5757 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.4509, allocations: 13.34 kB / 0.5757 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.4509, allocations: 7.594 kB / 0.5757 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.4509, allocations: 6.531 kB / 0.5757 GB, free: 27.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.385e-05/0.451, allocations: 90.61 kB / 0.5758 GB, free: 27.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.451, allocations: 0.9062 kB / 0.5758 GB, free: 27.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.4512, allocations: 8.844 kB / 0.5758 GB, free: 27.53 MB / 446.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.000158/0.4514, allocations: 103.1 kB / 0.5759 GB, free: 27.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003888/0.4518, allocations: 85.34 kB / 0.576 GB, free: 27.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4518, allocations: 1.375 kB / 0.576 GB, free: 27.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.4519, allocations: 38.03 kB / 0.576 GB, free: 27.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.4523, allocations: 7.734 kB / 0.576 GB, free: 27.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.4526, allocations: 148.3 kB / 0.5762 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.4528, allocations: 0.6905 MB / 0.5769 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.24e-05/0.4528, allocations: 6.906 kB / 0.5769 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.4528, allocations: 11.56 kB / 0.5769 GB, free: 26.59 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4528, allocations: 0 / 0.5769 GB, free: 26.59 MB / 446.1 MB Notification: Performance of Templates: time 0.003551/0.4564, allocations: 0.7721 MB / 0.5776 GB, free: 26.53 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)