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.001091/0.001091, allocations: 105.2 kB / 16.52 MB, free: 6.66 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.00113/0.00113, allocations: 198.8 kB / 17.44 MB, free: 6.047 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.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7439/0.7439, allocations: 115.3 MB / 406.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 59.91 kB / 493.6 MB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3794, allocations: 76.17 MB / 0.5564 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002554/0.382, allocations: 1.586 MB / 0.5579 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003075/0.3823, allocations: 120 kB / 0.558 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.3823, allocations: 5.562 kB / 0.558 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.3825, allocations: 7.422 kB / 0.558 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.544e-05/0.3825, allocations: 6.812 kB / 0.5581 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.3827, allocations: 24.64 kB / 0.5581 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.839e-05/0.3828, allocations: 48.36 kB / 0.5581 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3829, allocations: 24.91 kB / 0.5581 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.375e-05/0.383, allocations: 28.5 kB / 0.5582 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.045e-05/0.383, allocations: 26.47 kB / 0.5582 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.3831, allocations: 4.406 kB / 0.5582 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.956e-05/0.3831, allocations: 13.02 kB / 0.5582 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.3832, allocations: 11.09 kB / 0.5582 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.3832, allocations: 22.19 kB / 0.5582 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.361e-05/0.3833, allocations: 43.47 kB / 0.5583 GB, free: 35.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3833, allocations: 0.875 kB / 0.5583 GB, free: 35.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3833, allocations: 0 / 0.5583 GB, free: 35.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.3833, allocations: 0 / 0.5583 GB, free: 35.1 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.0004818/0.3838, allocations: 380.1 kB / 0.5587 GB, free: 34.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3839, allocations: 12.91 kB / 0.5587 GB, free: 34.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.3839, allocations: 9.969 kB / 0.5587 GB, free: 34.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.384, allocations: 186.4 kB / 0.5589 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.3841, allocations: 3.438 kB / 0.5589 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.3841, allocations: 7.719 kB / 0.5589 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.3844, allocations: 92.5 kB / 0.559 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.3844, allocations: 4.688 kB / 0.559 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3844, allocations: 7.938 kB / 0.559 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3844, allocations: 1.344 kB / 0.559 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/0.3847, allocations: 80.73 kB / 0.559 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.3852, allocations: 328.2 kB / 0.5594 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.3854, allocations: 55.09 kB / 0.5594 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.3856, allocations: 50.02 kB / 0.5595 GB, free: 34.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.3856, allocations: 5.625 kB / 0.5595 GB, free: 34.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.3856, allocations: 34.59 kB / 0.5595 GB, free: 34.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3856, allocations: 0 / 0.5595 GB, free: 34.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005336/0.3862, allocations: 136.6 kB / 0.5596 GB, free: 34.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.3862, allocations: 55.41 kB / 0.5597 GB, free: 33.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.624e-05/0.3863, allocations: 113 kB / 0.5598 GB, free: 33.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.108e-06/0.3863, allocations: 25.7 kB / 0.5598 GB, free: 33.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.3863, allocations: 98.58 kB / 0.5599 GB, free: 33.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.3864, allocations: 10.62 kB / 0.5599 GB, free: 33.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.3864, allocations: 14.67 kB / 0.5599 GB, free: 33.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.78e-05/0.3865, allocations: 321.8 kB / 0.5602 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.3866, allocations: 34.27 kB / 0.5603 GB, free: 33.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.3868, allocations: 40.78 kB / 0.5603 GB, free: 33.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.3871, allocations: 69.69 kB / 0.5604 GB, free: 33.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3871, allocations: 2.188 kB / 0.5604 GB, free: 33.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000328/0.3874, allocations: 107.5 kB / 0.5605 GB, free: 33.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3874, allocations: 5.281 kB / 0.5605 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3874, allocations: 0.7031 kB / 0.5605 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3875, allocations: 1.656 kB / 0.5605 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3876, allocations: 17.09 kB / 0.5605 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.3876, allocations: 0.8125 kB / 0.5605 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/0.3877, allocations: 12.53 kB / 0.5605 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.3877, allocations: 1.891 kB / 0.5605 GB, free: 33.3 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 6.06e-05/0.3878, allocations: 123.6 kB / 0.5606 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.3878, allocations: 7.281 kB / 0.5606 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/0.3882, allocations: 113.1 kB / 0.5607 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3882, allocations: 6.703 kB / 0.5608 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3882, allocations: 0.7188 kB / 0.5608 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3882, allocations: 1.156 kB / 0.5608 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.3884, allocations: 182.5 kB / 0.5609 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3884, allocations: 1.688 kB / 0.5609 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3885, allocations: 16.42 kB / 0.5609 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3885, allocations: 1.922 kB / 0.5609 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.3885, allocations: 0 / 0.5609 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3885, allocations: 1.562 kB / 0.5609 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3885, allocations: 0.5156 kB / 0.5609 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.3889, allocations: 209.2 kB / 0.5611 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.3889, allocations: 79.08 kB / 0.5612 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.3889, allocations: 7.391 kB / 0.5612 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3891, allocations: 11.39 kB / 0.5612 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.3891, allocations: 4.312 kB / 0.5612 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.3891, allocations: 1.719 kB / 0.5612 GB, free: 32.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.678e-05/0.3892, allocations: 94.17 kB / 0.5613 GB, free: 32.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3892, allocations: 0.8125 kB / 0.5613 GB, free: 32.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.3894, allocations: 16.78 kB / 0.5614 GB, free: 32.58 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.0001221/0.3895, allocations: 107.6 kB / 0.5615 GB, free: 32.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003455/0.3899, allocations: 77.69 kB / 0.5615 GB, free: 32.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3899, allocations: 1.594 kB / 0.5615 GB, free: 32.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.3901, allocations: 39.42 kB / 0.5616 GB, free: 32.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.3904, allocations: 8.812 kB / 0.5616 GB, free: 32.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.3907, allocations: 192.6 kB / 0.5618 GB, free: 32.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.3908, allocations: 0.6893 MB / 0.5624 GB, free: 31.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.3909, allocations: 11.67 kB / 0.5624 GB, free: 31.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3909, allocations: 0 / 0.5624 GB, free: 31.59 MB / 446.1 MB Notification: Performance of Templates: time 0.002466/0.3934, allocations: 0.9323 MB / 0.5634 GB, free: 31.55 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)