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.467/1.467, allocations: 252 MB / 267 MB, free: 10.99 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.001082/0.001082, allocations: 188.9 kB / 326.6 MB, free: 2.246 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.961/1.961, allocations: 205.4 MB / 0.5777 GB, free: 20.55 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.0009379/0.0009379, allocations: 89.7 kB / 0.6822 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004933, allocations: 9 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2534, allocations: 106.3 MB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002688/0.2561, allocations: 2.093 MB / 0.9024 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007769/0.2569, allocations: 0.5007 MB / 0.9028 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.257, allocations: 4 kB / 0.9028 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.2574, allocations: 107.4 kB / 0.9029 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.2576, allocations: 79.41 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.2577, allocations: 27.97 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.2579, allocations: 234.6 kB / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.2581, allocations: 85.33 kB / 0.9034 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.2583, allocations: 71.73 kB / 0.9034 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.2584, allocations: 87.52 kB / 0.9035 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.2584, allocations: 12 kB / 0.9035 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.069e-05/0.2585, allocations: 8 kB / 0.9035 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.2586, allocations: 67.75 kB / 0.9036 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.467e-05/0.2586, allocations: 85.45 kB / 0.9037 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.2589, allocations: 255.6 kB / 0.9039 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2589, allocations: 0 / 0.9039 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2589, allocations: 0 / 0.9039 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.259, allocations: 0 / 0.9039 GB, free: 60.65 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.0007544/0.2597, allocations: 0.6026 MB / 0.9045 GB, free: 60 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2598, allocations: 12.03 kB / 0.9045 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.2598, allocations: 46.55 kB / 0.9046 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.2599, allocations: 39.53 kB / 0.9046 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.2603, allocations: 297.1 kB / 0.9049 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2603, allocations: 12 kB / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.2603, allocations: 19.91 kB / 0.9049 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.2607, allocations: 137.6 kB / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2607, allocations: 0 / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.2607, allocations: 4 kB / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.2607, allocations: 4 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.261, allocations: 99.64 kB / 0.9051 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008164/0.2618, allocations: 0.5861 MB / 0.9057 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.2621, allocations: 86.55 kB / 0.9058 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.2623, allocations: 48.94 kB / 0.9058 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.2623, allocations: 0 / 0.9058 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.2623, allocations: 38.56 kB / 0.9059 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2623, allocations: 0 / 0.9059 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0004195/0.2627, allocations: 145.2 kB / 0.906 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.2628, allocations: 51.41 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004238/0.2632, allocations: 393.9 kB / 0.9064 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.2633, allocations: 29.7 kB / 0.9065 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.2634, allocations: 219.9 kB / 0.9067 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.2634, allocations: 27.56 kB / 0.9067 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.2635, allocations: 0 / 0.9067 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.2635, allocations: 350.8 kB / 0.907 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.55e-05/0.2637, allocations: 23.98 kB / 0.9071 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.2638, allocations: 55.42 kB / 0.9071 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.2639, allocations: 35.98 kB / 0.9072 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2639, allocations: 384 / 0.9072 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002847/0.2642, allocations: 153 kB / 0.9073 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2642, allocations: 4 kB / 0.9073 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2642, allocations: 8.094 kB / 0.9073 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2643, allocations: 0 / 0.9073 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.2644, allocations: 27.92 kB / 0.9073 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2644, allocations: 3.953 kB / 0.9073 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.2646, allocations: 11.94 kB / 0.9074 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.2646, allocations: 8 kB / 0.9074 GB, free: 56.88 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.0001515/0.2648, allocations: 161.7 kB / 0.9075 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.2648, allocations: 35.53 kB / 0.9076 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.745e-05/0.2649, allocations: 43.22 kB / 0.9076 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2649, allocations: 0 / 0.9076 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2649, allocations: 0 / 0.9076 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2649, allocations: 3.953 kB / 0.9076 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.2653, allocations: 305.5 kB / 0.9079 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2653, allocations: 4 kB / 0.9079 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.2655, allocations: 23.92 kB / 0.9079 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2655, allocations: 0 / 0.9079 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.2655, allocations: 4 kB / 0.9079 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2655, allocations: 0 / 0.9079 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2655, allocations: 0 / 0.9079 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.2659, allocations: 258.9 kB / 0.9082 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.756e-05/0.266, allocations: 116.7 kB / 0.9083 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.266, allocations: 0 / 0.9083 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.2662, allocations: 11.91 kB / 0.9083 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.2662, allocations: 3.984 kB / 0.9083 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.2663, allocations: 4 kB / 0.9083 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000288/0.2666, allocations: 283.2 kB / 0.9086 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2666, allocations: 0 / 0.9086 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003944/0.267, allocations: 40.03 kB / 0.9086 GB, free: 55.51 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.0005825/0.2676, allocations: 0.7862 MB / 0.9094 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.2678, allocations: 79.92 kB / 0.9094 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2678, allocations: 0 / 0.9094 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.293e-05/0.2679, allocations: 31.98 kB / 0.9095 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.2684, allocations: 28.08 kB / 0.9095 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.2713, allocations: 1.884 MB / 0.9113 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.2716, allocations: 0.7984 MB / 0.9121 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.2717, allocations: 12.64 kB / 0.9121 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.2719, allocations: 102.2 kB / 0.9122 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.2719, allocations: 0 / 0.9122 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.2911, allocations: 4.846 MB / 0.917 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.2913, allocations: 208.1 kB / 0.9172 GB, free: 46.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/2.366, allocations: 2.953 kB / 0.9172 GB, free: 46.78 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)