Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.772/1.772, allocations: 288.2 MB / 303.2 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 183.6 kB / 371.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.4 MB / 0.6305 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008918/0.000892, allocations: 100.5 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005548/0.0005549, allocations: 12.25 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2215, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6522/0.8738, allocations: 138.2 MB / 1.114 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.8741, allocations: 73.25 kB / 1.115 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003757/0.8779, allocations: 1.125 MB / 1.116 GB, free: 32.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8779, allocations: 0 / 1.116 GB, free: 32.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.909e-05/0.8779, allocations: 3.906 kB / 1.116 GB, free: 32.04 MB / 0.698 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.000494/0.8784, allocations: 385.6 kB / 1.116 GB, free: 31.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.8785, allocations: 15.67 kB / 1.116 GB, free: 31.67 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.8785, allocations: 38.12 kB / 1.116 GB, free: 31.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.8786, allocations: 3.906 kB / 1.116 GB, free: 31.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.8787, allocations: 191.2 kB / 1.116 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.8788, allocations: 9.703 kB / 1.116 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.8788, allocations: 0 / 1.116 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.8791, allocations: 93.78 kB / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.8791, allocations: 0 / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.8791, allocations: 3.844 kB / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.8791, allocations: 7.938 kB / 1.116 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.8794, allocations: 100.3 kB / 1.116 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.88, allocations: 333.7 kB / 1.117 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.8802, allocations: 70.91 kB / 1.117 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.8803, allocations: 6.516 kB / 1.117 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.8803, allocations: 34.56 kB / 1.117 GB, free: 31.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.8803, allocations: 0 / 1.117 GB, free: 31.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005431/0.8808, allocations: 164.7 kB / 1.117 GB, free: 31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.8809, allocations: 59.3 kB / 1.117 GB, free: 30.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.881, allocations: 109.2 kB / 1.117 GB, free: 30.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.881, allocations: 41.14 kB / 1.117 GB, free: 30.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.8811, allocations: 94.23 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.8811, allocations: 11.48 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.8811, allocations: 0 / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.8812, allocations: 317.2 kB / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.8814, allocations: 43.39 kB / 1.118 GB, free: 30.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.8815, allocations: 49.38 kB / 1.118 GB, free: 30.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.8816, allocations: 46 kB / 1.118 GB, free: 30.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8817, allocations: 0 / 1.118 GB, free: 30.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002998/0.882, allocations: 126.5 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.882, allocations: 7.656 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.882, allocations: 0 / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.882, allocations: 0 / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.8822, allocations: 29.45 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.8822, allocations: 4 kB / 1.118 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.891e-05/0.8823, allocations: 21.28 kB / 1.118 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.8823, allocations: 3.75 kB / 1.118 GB, free: 30.33 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.078e-05/0.8824, allocations: 116 kB / 1.118 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.8824, allocations: 3.906 kB / 1.118 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.8828, allocations: 130.5 kB / 1.118 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.8828, allocations: 7.875 kB / 1.118 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.8828, allocations: 1.406 kB / 1.118 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8828, allocations: 4.031 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.883, allocations: 179.8 kB / 1.118 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.883, allocations: 0 / 1.118 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-05/0.8831, allocations: 25.42 kB / 1.118 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.8831, allocations: 0 / 1.118 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.8831, allocations: 3.812 kB / 1.118 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8831, allocations: 0 / 1.118 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8831, allocations: 4 kB / 1.118 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.8835, allocations: 221.5 kB / 1.119 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.8836, allocations: 86.55 kB / 1.119 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.8836, allocations: 0 / 1.119 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.8837, allocations: 15.81 kB / 1.119 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.8837, allocations: 10.69 kB / 1.119 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.8837, allocations: 4 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.976e-05/0.8838, allocations: 91.27 kB / 1.119 GB, free: 29.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8838, allocations: 0 / 1.119 GB, free: 29.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002175/0.884, allocations: 15 kB / 1.119 GB, free: 29.64 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006788/0.8847, allocations: 0.7655 MB / 1.12 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003095/0.885, allocations: 107 kB / 1.12 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.8851, allocations: 4 kB / 1.12 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.8852, allocations: 49.19 kB / 1.12 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.8854, allocations: 7.375 kB / 1.12 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.8865, allocations: 0.5614 MB / 1.12 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.8869, allocations: 0.6977 MB / 1.121 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.55e-05/0.887, allocations: 7.234 kB / 1.121 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.887, allocations: 14.19 kB / 1.121 GB, free: 27.9 MB / 0.698 GB Notification: Performance of SimCode: time 4e-07/0.887, allocations: 0 / 1.121 GB, free: 27.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01252/0.8996, allocations: 1.464 MB / 1.122 GB, free: 27.72 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.8998, allocations: 172.3 kB / 1.123 GB, free: 27.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/2.412, allocations: 7.938 kB / 1.123 GB, free: 27.48 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Average.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)