Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 178.2 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205 MB / 0.5766 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000798/0.000798, allocations: 87.12 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003639, allocations: 11.78 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.26, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.00182/0.2619, allocations: 1.266 MB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000484/0.2624, allocations: 113.3 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.2625, allocations: 0 / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.2627, allocations: 7.938 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.213e-05/0.2627, allocations: 7.938 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.2631, allocations: 31.95 kB / 0.8981 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.2632, allocations: 51.84 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.2634, allocations: 31.86 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.208e-05/0.2635, allocations: 19.92 kB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.363e-05/0.2636, allocations: 19.92 kB / 0.8982 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.2636, allocations: 4 kB / 0.8982 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-05/0.2637, allocations: 7.984 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.2638, allocations: 15.92 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.2638, allocations: 19.86 kB / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.264, allocations: 35.94 kB / 0.8983 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.264, allocations: 0 / 0.8983 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.264, allocations: 4 kB / 0.8983 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.264, allocations: 0 / 0.8983 GB, free: 66.52 MB / 0.6042 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.0006457/0.2647, allocations: 383.2 kB / 0.8987 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.2647, allocations: 12.03 kB / 0.8987 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.2648, allocations: 4.844 kB / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.265, allocations: 192.1 kB / 0.8989 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.265, allocations: 8.375 kB / 0.8989 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.2651, allocations: 4.375 kB / 0.8989 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.2654, allocations: 94.2 kB / 0.899 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2654, allocations: 192 / 0.899 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.2654, allocations: 7.938 kB / 0.899 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.2655, allocations: 0 / 0.899 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.2658, allocations: 111.8 kB / 0.8991 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006348/0.2664, allocations: 340.6 kB / 0.8994 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.2667, allocations: 78.56 kB / 0.8995 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.2668, allocations: 48.92 kB / 0.8996 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.427e-05/0.2669, allocations: 7.938 kB / 0.8996 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.2669, allocations: 34.55 kB / 0.8996 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.2669, allocations: 0 / 0.8996 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005943/0.2675, allocations: 173.6 kB / 0.8998 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.2676, allocations: 55.34 kB / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.761e-05/0.2677, allocations: 113.7 kB / 0.8999 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.2677, allocations: 29.7 kB / 0.9 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.2678, allocations: 96.03 kB / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.2678, allocations: 3.906 kB / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.2678, allocations: 9.719 kB / 0.9001 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.2679, allocations: 326.8 kB / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.2681, allocations: 47.89 kB / 0.9004 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.2682, allocations: 47.95 kB / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.2685, allocations: 93.06 kB / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2685, allocations: 0 / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003222/0.2689, allocations: 133.5 kB / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2689, allocations: 4 kB / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.2689, allocations: 7.922 kB / 0.9007 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2689, allocations: 4 kB / 0.9007 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.2691, allocations: 23.97 kB / 0.9007 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.2691, allocations: 4 kB / 0.9007 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.133e-05/0.2692, allocations: 15.92 kB / 0.9007 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.2692, allocations: 4 kB / 0.9007 GB, free: 63.82 MB / 0.6042 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 8.421e-05/0.2693, allocations: 121.8 kB / 0.9009 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.2694, allocations: 3.906 kB / 0.9009 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.2697, allocations: 133.5 kB / 0.901 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2698, allocations: 4 kB / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2698, allocations: 0 / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2698, allocations: 0 / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.2699, allocations: 181.6 kB / 0.9012 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2699, allocations: 4 kB / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.803e-05/0.27, allocations: 23.91 kB / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.27, allocations: 4 kB / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.2701, allocations: 0 / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2701, allocations: 4 kB / 0.9012 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2701, allocations: 0 / 0.9012 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.2704, allocations: 223.4 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.2705, allocations: 81.02 kB / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.2705, allocations: 0 / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2706, allocations: 15.98 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.2707, allocations: 11.98 kB / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.2707, allocations: 0 / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.042e-05/0.2707, allocations: 95.2 kB / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.082e-06/0.2707, allocations: 0 / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002151/0.2709, allocations: 19.94 kB / 0.9016 GB, free: 62.81 MB / 0.6042 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.0001328/0.2711, allocations: 103.1 kB / 0.9017 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003382/0.2714, allocations: 95.92 kB / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2714, allocations: 0 / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.2716, allocations: 51.95 kB / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.2719, allocations: 8 kB / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.2723, allocations: 192.7 kB / 0.9021 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.2724, allocations: 0.6926 MB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.2724, allocations: 11.38 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of SimCode: time 3.6e-07/0.2725, allocations: 0 / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.002186/0.2746, allocations: 0.9151 MB / 0.9036 GB, free: 60.69 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)