Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001144/0.001144, allocations: 183.6 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008016/0.0008016, allocations: 95.7 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002982/0.0002986, allocations: 9.219 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1957, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002672/0.1984, allocations: 2.008 MB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1996, allocations: 0.5009 MB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.1998, allocations: 4 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.2002, allocations: 115.5 kB / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.2004, allocations: 91.75 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.2005, allocations: 31.91 kB / 0.9028 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.2007, allocations: 183.5 kB / 0.903 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.2009, allocations: 79.38 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.201, allocations: 71.72 kB / 0.9031 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.2011, allocations: 91.56 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.2011, allocations: 8 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.959e-05/0.2012, allocations: 8 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.2012, allocations: 71.7 kB / 0.9033 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.2013, allocations: 81.52 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.2015, allocations: 251.6 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2015, allocations: 0 / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2015, allocations: 0 / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2015, allocations: 0 / 0.9036 GB, free: 60.23 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006507/0.2021, allocations: 0.5987 MB / 0.9042 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2022, allocations: 12.03 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.2022, allocations: 50.55 kB / 0.9043 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.2023, allocations: 43.52 kB / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.2026, allocations: 285.2 kB / 0.9046 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.2026, allocations: 16 kB / 0.9046 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.2027, allocations: 23.84 kB / 0.9046 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.2029, allocations: 129.6 kB / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2029, allocations: 0 / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.203, allocations: 8 kB / 0.9048 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.203, allocations: 4 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.2032, allocations: 95.7 kB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/0.2038, allocations: 0.5861 MB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.2041, allocations: 98.59 kB / 0.9055 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.2041, allocations: 0 / 0.9055 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.2041, allocations: 34.56 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 9.51e-07/0.2041, allocations: 0 / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.000306/0.2045, allocations: 145.6 kB / 0.9057 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.2045, allocations: 59.3 kB / 0.9058 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.2048, allocations: 390 kB / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.2048, allocations: 25.7 kB / 0.9062 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.2049, allocations: 223.9 kB / 0.9064 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.2049, allocations: 31.55 kB / 0.9064 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.2049, allocations: 4 kB / 0.9064 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.205, allocations: 342.8 kB / 0.9067 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.915e-05/0.2051, allocations: 27.98 kB / 0.9068 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.2052, allocations: 59.41 kB / 0.9068 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.261e-05/0.2052, allocations: 35.94 kB / 0.9068 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2052, allocations: 4 kB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001919/0.2054, allocations: 141.1 kB / 0.907 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2055, allocations: 4 kB / 0.907 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2055, allocations: 3.938 kB / 0.907 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2055, allocations: 8.094 kB / 0.907 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.2056, allocations: 23.98 kB / 0.907 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2056, allocations: 3.953 kB / 0.907 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.465e-05/0.2057, allocations: 8 kB / 0.907 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.2057, allocations: 7.984 kB / 0.907 GB, free: 56.51 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * 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 0.0001088/0.2058, allocations: 165.8 kB / 0.9072 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.2059, allocations: 35.53 kB / 0.9072 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.236e-05/0.2059, allocations: 43.2 kB / 0.9073 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.206, allocations: 4 kB / 0.9073 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.206, allocations: 0 / 0.9073 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.206, allocations: 7.938 kB / 0.9073 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.2062, allocations: 309.5 kB / 0.9076 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2062, allocations: 0 / 0.9076 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.2063, allocations: 16 kB / 0.9076 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2063, allocations: 0 / 0.9076 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2063, allocations: 4.188 kB / 0.9076 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2064, allocations: 0 / 0.9076 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2064, allocations: 11.92 kB / 0.9076 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.2066, allocations: 251 kB / 0.9078 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.2067, allocations: 108.8 kB / 0.908 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.2068, allocations: 8 kB / 0.908 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2069, allocations: 3.906 kB / 0.908 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.2069, allocations: 11.92 kB / 0.908 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.2069, allocations: 4 kB / 0.908 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001967/0.2071, allocations: 279.2 kB / 0.9082 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2071, allocations: 0 / 0.9082 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002514/0.2074, allocations: 47.84 kB / 0.9083 GB, free: 55.13 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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 (9): * Single equations (assignments): 9 * 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.0004266/0.2078, allocations: 0.7862 MB / 0.9091 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.208, allocations: 75.97 kB / 0.9091 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.208, allocations: 0 / 0.9091 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.5e-05/0.2081, allocations: 40.3 kB / 0.9092 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.2083, allocations: 21.62 kB / 0.9092 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.2103, allocations: 2.291 MB / 0.9114 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.2105, allocations: 0.8101 MB / 0.9122 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.479e-05/0.2106, allocations: 12.64 kB / 0.9122 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.83e-05/0.2107, allocations: 105.9 kB / 0.9123 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/0.2107, allocations: 0 / 0.9123 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.225, allocations: 4.813 MB / 0.917 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/0.2252, allocations: 208.4 kB / 0.9172 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/2.463, allocations: 4 kB / 0.9172 GB, free: 45.99 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)