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.001586/0.001586, allocations: 105.5 kB / 16.94 MB, free: 6.156 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.001401/0.001401, allocations: 191.3 kB / 17.87 MB, free: 5.293 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.311/1.311, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.752/0.752, allocations: 122.8 MB / 414.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.89 kB / 0.4917 GB, free: 7.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3473, allocations: 77.92 MB / 0.5678 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002553/0.3499, allocations: 1.526 MB / 0.5693 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002839/0.3502, allocations: 113.1 kB / 0.5694 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.3502, allocations: 5.312 kB / 0.5694 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.3503, allocations: 6.844 kB / 0.5694 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.583e-05/0.3504, allocations: 7.25 kB / 0.5694 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.3506, allocations: 33.2 kB / 0.5695 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.369e-05/0.3507, allocations: 46.14 kB / 0.5695 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3508, allocations: 38.94 kB / 0.5696 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.072e-05/0.3509, allocations: 27.08 kB / 0.5696 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.351, allocations: 32.23 kB / 0.5696 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.351, allocations: 5.219 kB / 0.5696 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.437e-05/0.3511, allocations: 8.984 kB / 0.5696 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.3511, allocations: 21.48 kB / 0.5696 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.3511, allocations: 24.17 kB / 0.5697 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.3513, allocations: 59.48 kB / 0.5697 GB, free: 31.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3513, allocations: 2.188 kB / 0.5697 GB, free: 31.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3513, allocations: 0 / 0.5697 GB, free: 31.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3513, allocations: 0.5938 kB / 0.5697 GB, free: 31.38 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.0004326/0.3517, allocations: 378.7 kB / 0.5701 GB, free: 31.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3518, allocations: 11.64 kB / 0.5701 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.3518, allocations: 8.25 kB / 0.5701 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3519, allocations: 181.7 kB / 0.5703 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3519, allocations: 7.188 kB / 0.5703 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.352, allocations: 2.312 kB / 0.5703 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.3522, allocations: 95.72 kB / 0.5704 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3523, allocations: 0.75 kB / 0.5704 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3523, allocations: 3.938 kB / 0.5704 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3523, allocations: 2.344 kB / 0.5704 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/0.3526, allocations: 81.66 kB / 0.5705 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.3531, allocations: 331.2 kB / 0.5708 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.3533, allocations: 60.66 kB / 0.5708 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.3534, allocations: 38.78 kB / 0.5709 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.3535, allocations: 7.828 kB / 0.5709 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.3535, allocations: 36.36 kB / 0.5709 GB, free: 30.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.3535, allocations: 1.281 kB / 0.5709 GB, free: 30.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005494/0.3541, allocations: 137.5 kB / 0.5711 GB, free: 30.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.3541, allocations: 51.41 kB / 0.5711 GB, free: 30.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.716e-05/0.3542, allocations: 120.7 kB / 0.5712 GB, free: 30.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.3542, allocations: 26.2 kB / 0.5712 GB, free: 30.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.3542, allocations: 93.81 kB / 0.5713 GB, free: 30.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.3543, allocations: 10.03 kB / 0.5713 GB, free: 30 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.3543, allocations: 19.48 kB / 0.5714 GB, free: 29.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.402e-05/0.3543, allocations: 318.4 kB / 0.5717 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.3545, allocations: 37.72 kB / 0.5717 GB, free: 29.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.3547, allocations: 35.59 kB / 0.5717 GB, free: 29.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.355, allocations: 77.31 kB / 0.5718 GB, free: 29.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.355, allocations: 0 / 0.5718 GB, free: 29.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003277/0.3553, allocations: 107.1 kB / 0.5719 GB, free: 29.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3553, allocations: 6.422 kB / 0.5719 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3553, allocations: 1.125 kB / 0.5719 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3553, allocations: 0 / 0.5719 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.3555, allocations: 17.08 kB / 0.5719 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3555, allocations: 0.6562 kB / 0.5719 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.077e-05/0.3556, allocations: 16.92 kB / 0.5719 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.3556, allocations: 2.594 kB / 0.572 GB, free: 29.58 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.426e-05/0.3557, allocations: 116 kB / 0.5721 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.3557, allocations: 6.844 kB / 0.5721 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.3561, allocations: 120.7 kB / 0.5722 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3561, allocations: 4.031 kB / 0.5722 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3561, allocations: 1.969 kB / 0.5722 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3561, allocations: 0.7969 kB / 0.5722 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.3562, allocations: 177.9 kB / 0.5724 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3563, allocations: 1.219 kB / 0.5724 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.996e-05/0.3564, allocations: 16.52 kB / 0.5724 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3564, allocations: 8.312 kB / 0.5724 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3564, allocations: 4.547 kB / 0.5724 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.3564, allocations: 1.25 kB / 0.5724 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3564, allocations: 0 / 0.5724 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.3568, allocations: 203 kB / 0.5726 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.3568, allocations: 84.58 kB / 0.5727 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.3568, allocations: 0.5625 kB / 0.5727 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.3569, allocations: 17.09 kB / 0.5727 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.357, allocations: 4.219 kB / 0.5727 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.357, allocations: 1.656 kB / 0.5727 GB, free: 28.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.265e-05/0.357, allocations: 92.48 kB / 0.5728 GB, free: 28.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.357, allocations: 0 / 0.5728 GB, free: 28.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00023/0.3573, allocations: 10.56 kB / 0.5728 GB, free: 28.86 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.0001078/0.3574, allocations: 101.1 kB / 0.5729 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.3577, allocations: 84.36 kB / 0.573 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3578, allocations: 5.5 kB / 0.573 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.3579, allocations: 37.94 kB / 0.573 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.3582, allocations: 12.61 kB / 0.573 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.3585, allocations: 169 kB / 0.5732 GB, free: 28.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.3586, allocations: 0.6891 MB / 0.5738 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.3587, allocations: 12.09 kB / 0.5739 GB, free: 27.9 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3587, allocations: 0 / 0.5739 GB, free: 27.9 MB / 446.1 MB Notification: Performance of Templates: time 0.002466/0.3611, allocations: 0.9369 MB / 0.5748 GB, free: 27.86 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)