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.001375/0.001375, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 194.4 kB / 16.25 MB, free: 6.617 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.411/1.411, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.627/1.627, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001363/0.001363, allocations: 65.69 kB / 0.6711 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.183, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003655/0.1867, allocations: 2.5 MB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000896/0.1876, allocations: 0.5326 MB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.1877, allocations: 4 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.1882, allocations: 124.4 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.1884, allocations: 83.47 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.1885, allocations: 31.98 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.1887, allocations: 250.7 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.1889, allocations: 103.1 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1891, allocations: 91.58 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.1893, allocations: 99.56 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.1893, allocations: 19.94 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.826e-05/0.1894, allocations: 20 kB / 0.7867 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.922e-05/0.1895, allocations: 83.75 kB / 0.7868 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.1896, allocations: 147 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.19, allocations: 342.7 kB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.19, allocations: 0 / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.61e-07/0.19, allocations: 0 / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.19, allocations: 0 / 0.7873 GB, free: 9.406 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.0008602/0.1909, allocations: 0.6454 MB / 0.7879 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1909, allocations: 12.03 kB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.107e-05/0.191, allocations: 50.73 kB / 0.788 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.191, allocations: 48.38 kB / 0.788 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.1915, allocations: 306.2 kB / 0.7883 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1915, allocations: 12.38 kB / 0.7883 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.1915, allocations: 16.38 kB / 0.7883 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.1918, allocations: 137.7 kB / 0.7885 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1918, allocations: 3.938 kB / 0.7885 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1918, allocations: 4 kB / 0.7885 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1919, allocations: 4 kB / 0.7885 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.1921, allocations: 99.95 kB / 0.7886 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008189/0.1929, allocations: 0.5896 MB / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.1931, allocations: 94.53 kB / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.563e-05/0.1933, allocations: 52.78 kB / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.1933, allocations: 0 / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.1933, allocations: 34.56 kB / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.1933, allocations: 4 kB / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003279/0.1936, allocations: 141.2 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.1937, allocations: 51.41 kB / 0.7895 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.194, allocations: 386 kB / 0.7899 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.194, allocations: 29.7 kB / 0.7899 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.1942, allocations: 219.9 kB / 0.7901 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.1942, allocations: 35.53 kB / 0.7901 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/0.1943, allocations: 29.72 kB / 0.7902 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1944, allocations: 350.7 kB / 0.7905 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.729e-05/0.1945, allocations: 27.98 kB / 0.7905 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-05/0.1946, allocations: 55.36 kB / 0.7906 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.1948, allocations: 91.36 kB / 0.7907 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1948, allocations: 0 / 0.7907 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002409/0.195, allocations: 149.5 kB / 0.7908 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1951, allocations: 8 kB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1951, allocations: 96 / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1951, allocations: 3.938 kB / 0.7908 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1952, allocations: 23.98 kB / 0.7908 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1952, allocations: 8.094 kB / 0.7909 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-05/0.1953, allocations: 11.92 kB / 0.7909 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1953, allocations: 7.938 kB / 0.7909 GB, free: 5.445 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.0001527/0.1955, allocations: 164.6 kB / 0.791 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.1955, allocations: 35.53 kB / 0.7911 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.1956, allocations: 43.2 kB / 0.7911 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1956, allocations: 0 / 0.7911 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1956, allocations: 0 / 0.7911 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1956, allocations: 4 kB / 0.7911 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.196, allocations: 309.5 kB / 0.7914 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.196, allocations: 0 / 0.7914 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.1961, allocations: 16 kB / 0.7914 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1962, allocations: 3.984 kB / 0.7914 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1962, allocations: 4 kB / 0.7914 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.1962, allocations: 4 kB / 0.7914 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1962, allocations: 3.938 kB / 0.7914 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.1965, allocations: 258.9 kB / 0.7917 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.841e-05/0.1966, allocations: 116.6 kB / 0.7918 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.1967, allocations: 0 / 0.7918 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1968, allocations: 7.984 kB / 0.7918 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.1968, allocations: 11.94 kB / 0.7918 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.1968, allocations: 0 / 0.7918 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002559/0.1971, allocations: 283.1 kB / 0.7921 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.1971, allocations: 0 / 0.7921 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002701/0.1974, allocations: 47.97 kB / 0.7921 GB, free: 4.062 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.000937/0.1983, allocations: 0.7824 MB / 0.7929 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.1986, allocations: 72.16 kB / 0.793 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.1986, allocations: 4 kB / 0.793 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.667e-05/0.1986, allocations: 39.92 kB / 0.793 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.199, allocations: 28.58 kB / 0.793 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.2024, allocations: 2.826 MB / 0.7958 GB, free: 192 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.2028, allocations: 0.7942 MB / 0.7966 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.798e-05/0.2029, allocations: 16.64 kB / 0.7966 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.203, allocations: 99.41 kB / 0.7967 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of SimCode: time 3.6e-07/0.203, allocations: 0 / 0.7967 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.2188, allocations: 4.754 MB / 0.8013 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.219, allocations: 217 kB / 0.8015 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.014, allocations: 4 kB / 0.8015 GB, free: 10.42 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)