Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 193.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 71.62 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2097, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003893/0.2136, allocations: 2.447 MB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2146, allocations: 0.5365 MB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.2148, allocations: 0 / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.2152, allocations: 132.3 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.2154, allocations: 87.28 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.2155, allocations: 43.95 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.2158, allocations: 246.7 kB / 0.7869 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.216, allocations: 103.1 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.2162, allocations: 91.59 kB / 0.7871 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.2163, allocations: 99.5 kB / 0.7872 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.2164, allocations: 20 kB / 0.7872 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.129e-05/0.2164, allocations: 16 kB / 0.7872 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.834e-05/0.2165, allocations: 83.69 kB / 0.7873 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.2167, allocations: 147 kB / 0.7874 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.217, allocations: 338.7 kB / 0.7877 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.217, allocations: 0 / 0.7877 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.217, allocations: 4 kB / 0.7877 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.217, allocations: 0 / 0.7877 GB, free: 8.988 MB / 0.6075 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.000776/0.2178, allocations: 0.6455 MB / 0.7884 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.2178, allocations: 15.97 kB / 0.7884 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.392e-05/0.2179, allocations: 46.73 kB / 0.7884 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.303e-05/0.2179, allocations: 44.38 kB / 0.7885 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.2183, allocations: 310.2 kB / 0.7888 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.2183, allocations: 12.38 kB / 0.7888 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.2183, allocations: 16.36 kB / 0.7888 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.2186, allocations: 141.7 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2186, allocations: 3.938 kB / 0.7889 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.2187, allocations: 4 kB / 0.7889 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2187, allocations: 4 kB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.2189, allocations: 91.95 kB / 0.789 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008108/0.2197, allocations: 0.5975 MB / 0.7896 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.22, allocations: 90.59 kB / 0.7897 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.2201, allocations: 44.84 kB / 0.7897 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.2201, allocations: 0 / 0.7897 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.2201, allocations: 38.5 kB / 0.7898 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.2202, allocations: 0 / 0.7898 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003643/0.2205, allocations: 145.2 kB / 0.7899 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.2206, allocations: 51.41 kB / 0.79 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.221, allocations: 390 kB / 0.7903 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.221, allocations: 29.7 kB / 0.7904 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.2212, allocations: 216.3 kB / 0.7906 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.2212, allocations: 35.55 kB / 0.7906 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.2213, allocations: 21.72 kB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2214, allocations: 354.7 kB / 0.791 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.906e-05/0.2215, allocations: 31.92 kB / 0.791 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.153e-05/0.2216, allocations: 55.36 kB / 0.7911 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.2218, allocations: 95.36 kB / 0.7911 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2218, allocations: 0 / 0.7911 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002461/0.2221, allocations: 145.1 kB / 0.7913 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2221, allocations: 8 kB / 0.7913 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2221, allocations: 0 / 0.7913 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.2221, allocations: 4 kB / 0.7913 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.2222, allocations: 19.98 kB / 0.7913 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2223, allocations: 4 kB / 0.7913 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.231e-05/0.2223, allocations: 20.02 kB / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.2224, allocations: 7.938 kB / 0.7913 GB, free: 5.035 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.2225, allocations: 161.8 kB / 0.7915 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.2226, allocations: 35.53 kB / 0.7915 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.2227, allocations: 39.22 kB / 0.7916 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.2227, allocations: 3.984 kB / 0.7916 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2227, allocations: 3.984 kB / 0.7916 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2227, allocations: 0 / 0.7916 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.223, allocations: 309.5 kB / 0.7919 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.223, allocations: 4 kB / 0.7919 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.2232, allocations: 20 kB / 0.7919 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2232, allocations: 0 / 0.7919 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.2232, allocations: 0 / 0.7919 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2232, allocations: 7.984 kB / 0.7919 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2232, allocations: 0 / 0.7919 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.2235, allocations: 259 kB / 0.7922 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.2237, allocations: 116.7 kB / 0.7923 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.2237, allocations: 4 kB / 0.7923 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.2238, allocations: 0 / 0.7923 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.2238, allocations: 7.984 kB / 0.7923 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.2239, allocations: 7.938 kB / 0.7923 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003111/0.2242, allocations: 283.1 kB / 0.7926 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2242, allocations: 0 / 0.7926 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002635/0.2244, allocations: 43.84 kB / 0.7926 GB, free: 3.652 MB / 0.6075 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 (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.0006669/0.2251, allocations: 0.7901 MB / 0.7934 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.2253, allocations: 75.91 kB / 0.7934 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2253, allocations: 0 / 0.7934 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.809e-05/0.2254, allocations: 35.92 kB / 0.7935 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.2258, allocations: 34.3 kB / 0.7935 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.2291, allocations: 2.736 MB / 0.7962 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.2295, allocations: 0.7981 MB / 0.797 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.029e-05/0.2296, allocations: 12.64 kB / 0.797 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.2297, allocations: 99.41 kB / 0.7971 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.2297, allocations: 0 / 0.7971 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.2573, allocations: 4.864 MB / 0.8018 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/7.963, allocations: 3.984 kB / 0.8018 GB, free: 10.2 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)