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.001218/0.001218, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009579/0.0009579, allocations: 185.2 kB / 16.92 MB, free: 6.891 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.5/1.5, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.776/0.776, allocations: 123 MB / 415.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005168/0.0005168, allocations: 8 kB / 0.4933 GB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/0.5119, allocations: 79.28 MB / 0.5707 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.00207/0.514, allocations: 1.246 MB / 0.572 GB, free: 9.801 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003425/0.5144, allocations: 111.7 kB / 0.5721 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.5144, allocations: 3.938 kB / 0.5721 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.5146, allocations: 3.031 kB / 0.5721 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.805e-05/0.5146, allocations: 11.72 kB / 0.5721 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.5148, allocations: 27.88 kB / 0.5721 GB, free: 9.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.5149, allocations: 47.27 kB / 0.5722 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.515, allocations: 30.31 kB / 0.5722 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.704e-05/0.5151, allocations: 18.62 kB / 0.5722 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.789e-05/0.5152, allocations: 32.88 kB / 0.5722 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.5152, allocations: 2.031 kB / 0.5722 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.931e-05/0.5153, allocations: 11.39 kB / 0.5722 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.5153, allocations: 11.45 kB / 0.5723 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.5154, allocations: 53.03 kB / 0.5723 GB, free: 9.629 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.5155, allocations: 50.88 kB / 0.5724 GB, free: 9.617 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.5155, allocations: 0 / 0.5724 GB, free: 9.617 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5155, allocations: 0 / 0.5724 GB, free: 9.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.5155, allocations: 5.188 kB / 0.5724 GB, free: 9.613 MB / 430.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.0004731/0.516, allocations: 384.3 kB / 0.5727 GB, free: 9.238 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.5161, allocations: 9.969 kB / 0.5727 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.5161, allocations: 4.438 kB / 0.5727 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.5162, allocations: 185.3 kB / 0.5729 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.5163, allocations: 1.75 kB / 0.5729 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.5163, allocations: 2.375 kB / 0.5729 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.5166, allocations: 104.6 kB / 0.573 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.5166, allocations: 192 / 0.573 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.5166, allocations: 4.781 kB / 0.573 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.5166, allocations: 1.031 kB / 0.573 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.517, allocations: 104.2 kB / 0.5731 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.5175, allocations: 339.5 kB / 0.5734 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.5177, allocations: 71.73 kB / 0.5735 GB, free: 8.629 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.5179, allocations: 52.98 kB / 0.5736 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.5179, allocations: 2.312 kB / 0.5736 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.5179, allocations: 39.08 kB / 0.5736 GB, free: 8.566 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5179, allocations: 1.25 kB / 0.5736 GB, free: 8.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006136/0.5186, allocations: 176 kB / 0.5738 GB, free: 8.508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.5186, allocations: 51.41 kB / 0.5738 GB, free: 8.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.558e-05/0.5187, allocations: 122.2 kB / 0.5739 GB, free: 8.336 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.5187, allocations: 25.7 kB / 0.574 GB, free: 8.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.5187, allocations: 89.08 kB / 0.574 GB, free: 8.219 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.5188, allocations: 22.8 kB / 0.5741 GB, free: 8.199 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.5188, allocations: 10.78 kB / 0.5741 GB, free: 8.184 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.7e-05/0.5188, allocations: 317.3 kB / 0.5744 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.519, allocations: 47.11 kB / 0.5744 GB, free: 7.859 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.5192, allocations: 46.73 kB / 0.5745 GB, free: 7.852 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.5195, allocations: 99.03 kB / 0.5746 GB, free: 7.828 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5195, allocations: 0 / 0.5746 GB, free: 7.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003548/0.5199, allocations: 126.5 kB / 0.5747 GB, free: 7.781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5199, allocations: 4.844 kB / 0.5747 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5199, allocations: 5.75 kB / 0.5747 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.5199, allocations: 0 / 0.5747 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.5201, allocations: 20.33 kB / 0.5747 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.5201, allocations: 1.406 kB / 0.5747 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.276e-05/0.5202, allocations: 24.83 kB / 0.5747 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.5202, allocations: 4.75 kB / 0.5747 GB, free: 7.766 MB / 430.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.644e-05/0.5202, allocations: 115.7 kB / 0.5749 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.5203, allocations: 6.969 kB / 0.5749 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/0.5207, allocations: 141.8 kB / 0.575 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.5207, allocations: 0 / 0.575 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5207, allocations: 1.031 kB / 0.575 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5207, allocations: 4.609 kB / 0.575 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.5209, allocations: 179.7 kB / 0.5752 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5209, allocations: 0 / 0.5752 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.521, allocations: 20.97 kB / 0.5752 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.521, allocations: 0.9688 kB / 0.5752 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.521, allocations: 0.6562 kB / 0.5752 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.521, allocations: 1.031 kB / 0.5752 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.521, allocations: 0 / 0.5752 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.5214, allocations: 233.8 kB / 0.5754 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.5214, allocations: 83.95 kB / 0.5755 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.5214, allocations: 0.75 kB / 0.5755 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.5215, allocations: 16.95 kB / 0.5755 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.5216, allocations: 8.297 kB / 0.5755 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.5216, allocations: 0.9375 kB / 0.5755 GB, free: 7.117 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.452e-05/0.5216, allocations: 97.61 kB / 0.5756 GB, free: 7.035 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5216, allocations: 0 / 0.5756 GB, free: 7.035 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.5219, allocations: 13.31 kB / 0.5756 GB, free: 7.031 MB / 430.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.000107/0.522, allocations: 100.3 kB / 0.5757 GB, free: 6.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003863/0.5224, allocations: 97.44 kB / 0.5758 GB, free: 6.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5224, allocations: 0 / 0.5758 GB, free: 6.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.5226, allocations: 59.72 kB / 0.5759 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.5228, allocations: 8.422 kB / 0.5759 GB, free: 6.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.5231, allocations: 166.3 kB / 0.576 GB, free: 6.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.5233, allocations: 0.6923 MB / 0.5767 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.126e-05/0.5233, allocations: 7.844 kB / 0.5767 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.5234, allocations: 9.406 kB / 0.5767 GB, free: 6.066 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5234, allocations: 0 / 0.5767 GB, free: 6.066 MB / 430.1 MB Notification: Performance of Templates: time 0.002866/0.5262, allocations: 0.6306 MB / 0.5774 GB, free: 5.996 MB / 430.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)