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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4654/0.4654, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 349.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 123.4 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 56.06 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3177, allocations: 70.06 MB / 0.5575 GB, free: 44.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002939/0.3207, allocations: 1.586 MB / 0.559 GB, free: 43.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003193/0.321, allocations: 107.8 kB / 0.5591 GB, free: 43.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.3211, allocations: 5 kB / 0.5591 GB, free: 43.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.3212, allocations: 3.938 kB / 0.5591 GB, free: 43.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.553e-05/0.3213, allocations: 5.156 kB / 0.5592 GB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.3215, allocations: 27.95 kB / 0.5592 GB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.493e-05/0.3216, allocations: 51.84 kB / 0.5592 GB, free: 43.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3217, allocations: 30.33 kB / 0.5593 GB, free: 43.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.449e-05/0.3218, allocations: 23.33 kB / 0.5593 GB, free: 43.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.546e-05/0.3218, allocations: 23.91 kB / 0.5593 GB, free: 43.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3219, allocations: 4 kB / 0.5593 GB, free: 43.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.3219, allocations: 16 kB / 0.5593 GB, free: 43.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.322, allocations: 19.91 kB / 0.5593 GB, free: 43.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.322, allocations: 19.86 kB / 0.5594 GB, free: 43.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.3221, allocations: 51.81 kB / 0.5594 GB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3222, allocations: 0 / 0.5594 GB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.3222, allocations: 0 / 0.5594 GB, free: 43.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.3222, allocations: 3.531 kB / 0.5594 GB, free: 43.23 MB / 410.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.0004561/0.3226, allocations: 389.4 kB / 0.5598 GB, free: 42.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3227, allocations: 8.031 kB / 0.5598 GB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.3227, allocations: 8.844 kB / 0.5598 GB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3228, allocations: 180.3 kB / 0.56 GB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.3229, allocations: 4.375 kB / 0.56 GB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.3229, allocations: 12.31 kB / 0.56 GB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.3231, allocations: 90.12 kB / 0.5601 GB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3231, allocations: 4.125 kB / 0.5601 GB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3232, allocations: 11.92 kB / 0.5601 GB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3232, allocations: 0 / 0.5601 GB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.3235, allocations: 75.92 kB / 0.5602 GB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.3239, allocations: 336.6 kB / 0.5605 GB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.3241, allocations: 62.53 kB / 0.5605 GB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.3242, allocations: 48.91 kB / 0.5606 GB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.3243, allocations: 0 / 0.5606 GB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.3243, allocations: 34.56 kB / 0.5606 GB, free: 41.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.3243, allocations: 0 / 0.5606 GB, free: 41.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004993/0.3248, allocations: 137.6 kB / 0.5608 GB, free: 41.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.3248, allocations: 51.41 kB / 0.5608 GB, free: 41.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.359e-05/0.3249, allocations: 117.8 kB / 0.5609 GB, free: 41.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.3249, allocations: 25.7 kB / 0.5609 GB, free: 41.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.325, allocations: 92.05 kB / 0.561 GB, free: 41.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.325, allocations: 15.84 kB / 0.561 GB, free: 41.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.325, allocations: 17.7 kB / 0.5611 GB, free: 41.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.896e-05/0.3251, allocations: 322.8 kB / 0.5614 GB, free: 41.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.3252, allocations: 31.95 kB / 0.5614 GB, free: 40.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.3253, allocations: 31.97 kB / 0.5614 GB, free: 40.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.3256, allocations: 76.77 kB / 0.5615 GB, free: 40.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3256, allocations: 4 kB / 0.5615 GB, free: 40.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003013/0.3259, allocations: 105.5 kB / 0.5616 GB, free: 40.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3259, allocations: 8 kB / 0.5616 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3259, allocations: 0 / 0.5616 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.326, allocations: 0 / 0.5616 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3261, allocations: 19.97 kB / 0.5616 GB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3261, allocations: 4 kB / 0.5616 GB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.3262, allocations: 7.984 kB / 0.5616 GB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.3262, allocations: 4 kB / 0.5616 GB, free: 40.71 MB / 410.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.306e-05/0.3263, allocations: 121.7 kB / 0.5618 GB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.3263, allocations: 3.906 kB / 0.5618 GB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.3267, allocations: 121.4 kB / 0.5619 GB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3267, allocations: 0 / 0.5619 GB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3267, allocations: 0 / 0.5619 GB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3267, allocations: 0 / 0.5619 GB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.3268, allocations: 177.6 kB / 0.5621 GB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3268, allocations: 0 / 0.5621 GB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.234e-05/0.3269, allocations: 15.98 kB / 0.5621 GB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3269, allocations: 4.375 kB / 0.5621 GB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3269, allocations: 11.92 kB / 0.5621 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3269, allocations: 4 kB / 0.5621 GB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3269, allocations: 0 / 0.5621 GB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/0.3275, allocations: 0.7902 MB / 0.5629 GB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.3275, allocations: 77.11 kB / 0.5629 GB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.3275, allocations: 0 / 0.5629 GB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.863e-05/0.3276, allocations: 23.91 kB / 0.563 GB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.3277, allocations: 0 / 0.563 GB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.3277, allocations: 4 kB / 0.563 GB, free: 39.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.005e-05/0.3277, allocations: 91.27 kB / 0.563 GB, free: 39.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3277, allocations: 4 kB / 0.5631 GB, free: 39.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003082/0.3281, allocations: 15.91 kB / 0.5631 GB, free: 39.11 MB / 410.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 (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.0001106/0.3282, allocations: 95.25 kB / 0.5632 GB, free: 39.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.3285, allocations: 79.84 kB / 0.5632 GB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3285, allocations: 0 / 0.5632 GB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.3287, allocations: 39.97 kB / 0.5633 GB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.329, allocations: 13.81 kB / 0.5633 GB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.3293, allocations: 274.2 kB / 0.5635 GB, free: 38.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.3294, allocations: 0.6926 MB / 0.5642 GB, free: 37.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.394e-05/0.3295, allocations: 4 kB / 0.5642 GB, free: 37.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.3295, allocations: 11.44 kB / 0.5642 GB, free: 37.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3295, allocations: 0 / 0.5642 GB, free: 37.84 MB / 410.7 MB Notification: Performance of Templates: time 0.002339/0.3319, allocations: 0.6637 MB / 0.5649 GB, free: 37.19 MB / 410.7 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)