Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.EnergyConversionWarmUp,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",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.0008687/0.0008688, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.004949/0.00495, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.216/1.216, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.526/1.526, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0008136/0.0008137, allocations: 16.53 kB / 0.6744 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1858, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.002734/0.1886, allocations: 2.437 MB / 0.7904 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1902, allocations: 1.071 MB / 0.7914 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1903, allocations: 4 kB / 0.7914 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004996/0.1908, allocations: 203.3 kB / 0.7916 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.191, allocations: 67.55 kB / 0.7917 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.1914, allocations: 151.8 kB / 0.7918 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.1917, allocations: 387.8 kB / 0.7922 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.192, allocations: 201.8 kB / 0.7924 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1922, allocations: 115.2 kB / 0.7925 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.1923, allocations: 147.1 kB / 0.7926 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.1924, allocations: 15.94 kB / 0.7927 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.1926, allocations: 139.8 kB / 0.7928 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.1928, allocations: 227.2 kB / 0.793 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.1931, allocations: 335.3 kB / 0.7933 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007372/0.1938, allocations: 0.9102 MB / 0.7942 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1938, allocations: 4 kB / 0.7942 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1938, allocations: 0 / 0.7942 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.1939, allocations: 4 kB / 0.7942 GB, free: 5.062 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001215/0.1951, allocations: 1.022 MB / 0.7952 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1951, allocations: 11.97 kB / 0.7952 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.986e-05/0.1952, allocations: 62.72 kB / 0.7953 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/0.1965, allocations: 267.5 kB / 0.7956 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.1979, allocations: 0.7582 MB / 0.7963 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.1979, allocations: 21.03 kB / 0.7963 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.198, allocations: 32.38 kB / 0.7963 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007968/0.1988, allocations: 394.3 kB / 0.7967 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1988, allocations: 0 / 0.7967 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.1988, allocations: 12 kB / 0.7967 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.1989, allocations: 8 kB / 0.7967 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.1999, allocations: 446.3 kB / 0.7972 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0034/0.2033, allocations: 2.139 MB / 0.7993 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.204, allocations: 230.5 kB / 0.7995 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.2043, allocations: 96.75 kB / 0.7996 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.2043, allocations: 7.984 kB / 0.7996 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.2044, allocations: 42.56 kB / 0.7996 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.2044, allocations: 0 / 0.7996 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20): time 0.001044/0.2054, allocations: 371.2 kB / 0.8 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.2055, allocations: 55.41 kB / 0.8 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.2068, allocations: 1.256 MB / 0.8012 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.2068, allocations: 33.7 kB / 0.8013 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.2071, allocations: 440.5 kB / 0.8017 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.032e-05/0.2072, allocations: 78.98 kB / 0.8018 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.2073, allocations: 21.72 kB / 0.8018 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.2074, allocations: 322 kB / 0.8021 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.2077, allocations: 147.9 kB / 0.8022 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.2081, allocations: 197.9 kB / 0.8024 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006458/0.2088, allocations: 289 kB / 0.8027 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2088, allocations: 0 / 0.8027 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008621/0.2096, allocations: 470.6 kB / 0.8032 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2097, allocations: 4 kB / 0.8032 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.2097, allocations: 7.938 kB / 0.8032 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.2097, allocations: 0 / 0.8032 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.21, allocations: 64.05 kB / 0.8032 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.21, allocations: 0 / 0.8032 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.2103, allocations: 39.67 kB / 0.8033 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.2103, allocations: 11.98 kB / 0.8033 GB, free: 11.45 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002667/0.2106, allocations: 274.3 kB / 0.8035 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.723e-05/0.2107, allocations: 82.88 kB / 0.8036 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008498/0.2116, allocations: 341.8 kB / 0.8039 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2116, allocations: 4 kB / 0.8039 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2116, allocations: 0 / 0.8039 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2116, allocations: 3.938 kB / 0.804 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.2131, allocations: 1.004 MB / 0.8049 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2131, allocations: 4.188 kB / 0.8049 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.2134, allocations: 47.89 kB / 0.805 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2134, allocations: 7.938 kB / 0.805 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.2134, allocations: 8 kB / 0.805 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2135, allocations: 4 kB / 0.805 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2135, allocations: 0 / 0.805 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.2142, allocations: 447.7 kB / 0.8054 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.2144, allocations: 211.9 kB / 0.8056 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.2145, allocations: 4 kB / 0.8056 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.2148, allocations: 19.98 kB / 0.8057 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.2148, allocations: 23.86 kB / 0.8057 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.2149, allocations: 11.98 kB / 0.8057 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009843/0.2159, allocations: 0.9111 MB / 0.8066 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2159, allocations: 0 / 0.8066 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000381/0.2163, allocations: 107.8 kB / 0.8067 GB, free: 7.805 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001021/0.2173, allocations: 0.9842 MB / 0.8076 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006676/0.218, allocations: 279.7 kB / 0.8079 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.218, allocations: 320 / 0.8079 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.2183, allocations: 111.8 kB / 0.808 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/0.2189, allocations: 70.97 kB / 0.8081 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.2292, allocations: 7.918 MB / 0.8158 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.2297, allocations: 1.006 MB / 0.8168 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003309/0.23, allocations: 108.6 kB / 0.8169 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.2304, allocations: 291.3 kB / 0.8172 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.2304, allocations: 0 / 0.8172 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.354/1.584, allocations: 13.23 MB / 0.8301 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003897/1.584, allocations: 223.8 kB / 0.8303 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/3.347, allocations: 0 / 0.8303 GB, free: 15.42 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1)