Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001243/0.001243, allocations: 108 kB / 15.61 MB, free: 152 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.001076/0.001076, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.58 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3426, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002632/0.3453, allocations: 1.541 MB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003221/0.3456, allocations: 107.7 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.565e-05/0.3457, allocations: 0 / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.3458, allocations: 7.922 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.823e-05/0.3459, allocations: 15.86 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.3461, allocations: 27.97 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.123e-05/0.3462, allocations: 59.78 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3463, allocations: 23.98 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.623e-05/0.3464, allocations: 23.92 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.595e-05/0.3464, allocations: 31.83 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.3465, allocations: 8 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.199e-05/0.3465, allocations: 8 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.3466, allocations: 15.98 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.3466, allocations: 23.86 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.3468, allocations: 63.8 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3468, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3468, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.3468, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8262 GB 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.0005577/0.3473, allocations: 379.5 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3474, allocations: 12.03 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.3474, allocations: 8.844 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.3476, allocations: 184.2 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3476, allocations: 12.31 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.3476, allocations: 4.375 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.3479, allocations: 94.12 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.3479, allocations: 192 / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3479, allocations: 3.938 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3479, allocations: 4 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.3482, allocations: 79.92 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.3488, allocations: 320.7 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.349, allocations: 66.52 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.3492, allocations: 41 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.3492, allocations: 3.938 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.3492, allocations: 34.56 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.3492, allocations: 0 / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005785/0.3498, allocations: 141.5 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3499, allocations: 51.41 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.35, allocations: 117.7 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.35, allocations: 29.7 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.35, allocations: 99.92 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.3501, allocations: 7.906 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.3501, allocations: 21.7 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.3502, allocations: 318.8 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.3504, allocations: 31.95 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.3505, allocations: 35.91 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.3508, allocations: 80.77 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3508, allocations: 4 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003264/0.3511, allocations: 101.5 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3512, allocations: 4 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.3512, allocations: 4 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3512, allocations: 4 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.3513, allocations: 15.97 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3514, allocations: 0 / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.846e-05/0.3514, allocations: 11.98 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.3515, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB 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 7.528e-05/0.3515, allocations: 121.7 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.3516, allocations: 4 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/0.352, allocations: 117.5 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.352, allocations: 0 / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.352, allocations: 0 / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.352, allocations: 0 / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.3522, allocations: 189.5 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3522, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.805e-05/0.3523, allocations: 19.98 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3523, allocations: 0 / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3523, allocations: 3.984 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3523, allocations: 0 / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.3523, allocations: 4 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.3527, allocations: 203.6 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.3527, allocations: 89 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.3528, allocations: 0 / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3529, allocations: 12.03 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.3529, allocations: 7.984 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.3529, allocations: 7.984 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.353, allocations: 91.22 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.353, allocations: 0 / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002337/0.3532, allocations: 11.94 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB 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.0001331/0.3534, allocations: 107.7 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003603/0.3537, allocations: 79.86 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3538, allocations: 0 / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.3539, allocations: 43.95 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.3542, allocations: 4 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.3546, allocations: 153.5 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.3548, allocations: 0.6885 MB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.93e-05/0.3549, allocations: 15.98 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.3549, allocations: 11.44 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3549, allocations: 0 / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of Templates: time 0.002983/0.3579, allocations: 0.7579 MB / 1.075 GB, free: 3.059 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)