Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.496/1.496, allocations: 288.4 MB / 303.6 MB, free: 8.141 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.0009327/0.0009327, allocations: 178.8 kB / 372.3 MB, free: 10.1 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.472/1.472, allocations: 205.4 MB / 0.631 GB, free: 9.867 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.0007914/0.0007914, allocations: 93.14 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004552/0.0004552, allocations: 12.91 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2067, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.00248/0.2092, allocations: 2.057 MB / 0.9822 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.2103, allocations: 0.4971 MB / 0.9827 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.2105, allocations: 4 kB / 0.9827 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.2109, allocations: 123.3 kB / 0.9828 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.2111, allocations: 75.41 kB / 0.9829 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.2113, allocations: 35.95 kB / 0.9829 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000335/0.2116, allocations: 226.8 kB / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.2119, allocations: 94.91 kB / 0.9832 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.212, allocations: 75.72 kB / 0.9833 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.2122, allocations: 91.52 kB / 0.9834 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.2122, allocations: 8 kB / 0.9834 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.998e-05/0.2123, allocations: 12 kB / 0.9834 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.2123, allocations: 63.75 kB / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.2125, allocations: 160.8 kB / 0.9836 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.2127, allocations: 243.4 kB / 0.9838 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2127, allocations: 0 / 0.9838 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2127, allocations: 0 / 0.9838 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.2127, allocations: 0 / 0.9838 GB, free: 23.46 MB / 0.6198 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.0007575/0.2135, allocations: 0.5989 MB / 0.9844 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2135, allocations: 8.031 kB / 0.9844 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.003e-05/0.2136, allocations: 54.73 kB / 0.9845 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.186e-05/0.2137, allocations: 44.38 kB / 0.9845 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.214, allocations: 298.2 kB / 0.9848 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.2141, allocations: 12.38 kB / 0.9848 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.2141, allocations: 16.38 kB / 0.9848 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.2144, allocations: 141.9 kB / 0.985 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.2144, allocations: 3.938 kB / 0.985 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2144, allocations: 11.94 kB / 0.985 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2144, allocations: 4 kB / 0.985 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.2147, allocations: 91.7 kB / 0.9851 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007307/0.2154, allocations: 0.586 MB / 0.9857 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.2157, allocations: 86.61 kB / 0.9857 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.871e-05/0.2158, allocations: 52.89 kB / 0.9858 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.2158, allocations: 0 / 0.9858 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.2158, allocations: 38.48 kB / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.2158, allocations: 0 / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.000327/0.2162, allocations: 153.1 kB / 0.986 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.2162, allocations: 51.41 kB / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.2165, allocations: 386 kB / 0.9864 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.2165, allocations: 25.7 kB / 0.9864 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.2167, allocations: 224 kB / 0.9866 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.2167, allocations: 35.45 kB / 0.9867 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.2167, allocations: 4 kB / 0.9867 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.2168, allocations: 350.7 kB / 0.987 GB, free: 20 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.301e-05/0.2169, allocations: 27.98 kB / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-05/0.217, allocations: 55.42 kB / 0.9871 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.2171, allocations: 87.36 kB / 0.9872 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2171, allocations: 4 kB / 0.9872 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002148/0.2173, allocations: 141.2 kB / 0.9873 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2174, allocations: 5.812 kB / 0.9873 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2174, allocations: 4 kB / 0.9873 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2174, allocations: 4 kB / 0.9873 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.2175, allocations: 31.92 kB / 0.9873 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2175, allocations: 0 / 0.9873 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.643e-05/0.2176, allocations: 15.83 kB / 0.9874 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.2177, allocations: 11.94 kB / 0.9874 GB, free: 19.59 MB / 0.6198 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.0001274/0.2178, allocations: 167.1 kB / 0.9875 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.2178, allocations: 35.62 kB / 0.9876 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.2179, allocations: 39.2 kB / 0.9876 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2179, allocations: 4 kB / 0.9876 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2179, allocations: 0 / 0.9876 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2179, allocations: 3.938 kB / 0.9876 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.2182, allocations: 309.4 kB / 0.9879 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2182, allocations: 0 / 0.9879 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.2183, allocations: 27.92 kB / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2183, allocations: 0 / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2183, allocations: 0 / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2184, allocations: 0 / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2184, allocations: 4 kB / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.2187, allocations: 258.9 kB / 0.9882 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.2188, allocations: 104.8 kB / 0.9883 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.2188, allocations: 4 kB / 0.9883 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.904e-05/0.2189, allocations: 3.984 kB / 0.9883 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.219, allocations: 7.984 kB / 0.9883 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.219, allocations: 8.062 kB / 0.9883 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002234/0.2192, allocations: 279.1 kB / 0.9886 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2192, allocations: 3.938 kB / 0.9886 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002657/0.2195, allocations: 47.84 kB / 0.9886 GB, free: 18.21 MB / 0.6198 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.0005336/0.22, allocations: 0.789 MB / 0.9894 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001856/0.2202, allocations: 79.97 kB / 0.9895 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2202, allocations: 0 / 0.9895 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.764e-05/0.2203, allocations: 31.98 kB / 0.9895 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.2207, allocations: 29.48 kB / 0.9895 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.2229, allocations: 1.888 MB / 0.9914 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.2231, allocations: 0.8002 MB / 0.9922 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.659e-05/0.2232, allocations: 8.656 kB / 0.9922 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.2233, allocations: 107.4 kB / 0.9923 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.2233, allocations: 0 / 0.9923 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4033/0.6266, allocations: 4.832 MB / 0.997 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.6269, allocations: 204.4 kB / 0.9972 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/2.782, allocations: 0 / 0.9972 GB, free: 9.48 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)