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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 183.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5337/0.5337, allocations: 91.98 MB / 108.5 MB, free: 13.08 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.802/1.802, allocations: 223.2 MB / 354.3 MB, free: 12.18 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.0009052/0.0009052, allocations: 107.2 kB / 427.4 MB, free: 3.883 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003528, allocations: 12 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.16, allocations: 72.3 MB / 0.5689 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5118/0.6719, allocations: 101.7 MB / 0.6683 GB, free: 2.684 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.6722, allocations: 79.91 kB / 0.6683 GB, free: 2.605 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00351/0.6757, allocations: 1.135 MB / 0.6695 GB, free: 1.48 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6757, allocations: 0 / 0.6695 GB, free: 1.48 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.6758, allocations: 6.078 kB / 0.6695 GB, free: 1.477 MB / 458.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.0004912/0.6763, allocations: 383.1 kB / 0.6698 GB, free: 1.055 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.6763, allocations: 8.031 kB / 0.6698 GB, free: 1.047 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.6764, allocations: 34.56 kB / 0.6699 GB, free: 1.004 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.6764, allocations: 11.86 kB / 0.6699 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.6766, allocations: 190.9 kB / 0.6701 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.6766, allocations: 4 kB / 0.6701 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.6766, allocations: 0 / 0.6701 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.6769, allocations: 103.1 kB / 0.6702 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.6769, allocations: 0 / 0.6702 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.677, allocations: 4 kB / 0.6702 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.677, allocations: 4 kB / 0.6702 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.6773, allocations: 99.88 kB / 0.6703 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.6779, allocations: 344.7 kB / 0.6706 GB, free: 168 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.6782, allocations: 66.53 kB / 0.6707 GB, free: 92 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.6782, allocations: 7.953 kB / 0.6707 GB, free: 84 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.6782, allocations: 34.56 kB / 0.6707 GB, free: 40 kB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.6783, allocations: 0 / 0.6707 GB, free: 40 kB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006176/0.6789, allocations: 173.7 kB / 0.6709 GB, free: 15.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.6789, allocations: 51.41 kB / 0.6709 GB, free: 15.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.679, allocations: 116.3 kB / 0.671 GB, free: 15.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.6791, allocations: 25.7 kB / 0.671 GB, free: 15.65 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.6792, allocations: 99.97 kB / 0.6711 GB, free: 15.55 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.6792, allocations: 3.906 kB / 0.6711 GB, free: 15.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.6792, allocations: 0 / 0.6711 GB, free: 15.54 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6793, allocations: 314.8 kB / 0.6714 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.6795, allocations: 51.95 kB / 0.6715 GB, free: 15.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.6797, allocations: 43.95 kB / 0.6715 GB, free: 15.13 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.6798, allocations: 43.97 kB / 0.6716 GB, free: 15.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.6798, allocations: 0 / 0.6716 GB, free: 15.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003314/0.6802, allocations: 133.4 kB / 0.6717 GB, free: 14.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.6802, allocations: 11.95 kB / 0.6717 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.6802, allocations: 0 / 0.6717 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6802, allocations: 3.938 kB / 0.6717 GB, free: 14.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.6804, allocations: 23.98 kB / 0.6717 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.6804, allocations: 0 / 0.6717 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.746e-05/0.6805, allocations: 23.88 kB / 0.6718 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.6805, allocations: 0 / 0.6718 GB, free: 14.89 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.904e-05/0.6806, allocations: 113.8 kB / 0.6719 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.6806, allocations: 4 kB / 0.6719 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.681, allocations: 149.3 kB / 0.672 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.6811, allocations: 0 / 0.672 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.6811, allocations: 4 kB / 0.672 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6811, allocations: 384 / 0.672 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.6813, allocations: 177.6 kB / 0.6722 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6813, allocations: 0 / 0.6722 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.6814, allocations: 19.98 kB / 0.6722 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.6814, allocations: 0 / 0.6722 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.6815, allocations: 7.984 kB / 0.6722 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.6815, allocations: 3.953 kB / 0.6722 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6815, allocations: 0 / 0.6722 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.6819, allocations: 223.4 kB / 0.6724 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.6819, allocations: 77.11 kB / 0.6725 GB, free: 14.03 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.6819, allocations: 4 kB / 0.6725 GB, free: 14.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.6821, allocations: 23.97 kB / 0.6725 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.6821, allocations: 7.891 kB / 0.6725 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.6822, allocations: 4 kB / 0.6726 GB, free: 13.99 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.57e-05/0.6822, allocations: 95.27 kB / 0.6726 GB, free: 13.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6822, allocations: 0 / 0.6726 GB, free: 13.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.6825, allocations: 19.84 kB / 0.6727 GB, free: 13.88 MB / 474.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 (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.0008032/0.6833, allocations: 0.7554 MB / 0.6734 GB, free: 13.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.6837, allocations: 99.84 kB / 0.6735 GB, free: 13 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.6837, allocations: 0 / 0.6735 GB, free: 13 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.6838, allocations: 51.97 kB / 0.6735 GB, free: 12.95 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.684, allocations: 7.938 kB / 0.6736 GB, free: 12.94 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.6853, allocations: 0.573 MB / 0.6741 GB, free: 12.32 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.6856, allocations: 0.6926 MB / 0.6748 GB, free: 11.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.706e-05/0.6857, allocations: 11.98 kB / 0.6748 GB, free: 11.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.6857, allocations: 11.44 kB / 0.6748 GB, free: 11.58 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6857, allocations: 7.938 kB / 0.6748 GB, free: 11.57 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.6995, allocations: 1.443 MB / 0.6762 GB, free: 10.24 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.6997, allocations: 167 kB / 0.6764 GB, free: 9.996 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.317, allocations: 0 / 0.6764 GB, free: 9.996 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Average.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)