Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.EnergyConversionNormal,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",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.001066/0.001066, allocations: 92.78 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.008531/0.008531, allocations: 173 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.22/1.22, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.565/1.565, 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.0004574/0.0004574, allocations: 12.91 kB / 0.6744 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1818, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003047/0.1849, allocations: 1.963 MB / 0.7899 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.1866, allocations: 0.9349 MB / 0.7908 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.1868, allocations: 4 kB / 0.7908 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006754/0.1874, allocations: 191.4 kB / 0.791 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.1876, allocations: 51.64 kB / 0.7911 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.188, allocations: 87.83 kB / 0.7911 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.1883, allocations: 211.2 kB / 0.7913 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.1885, allocations: 97.61 kB / 0.7914 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1886, allocations: 71.47 kB / 0.7915 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.1888, allocations: 87.44 kB / 0.7916 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.1888, allocations: 8 kB / 0.7916 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003676/0.1892, allocations: 143.8 kB / 0.7917 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.1894, allocations: 199.4 kB / 0.7919 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.1897, allocations: 275.8 kB / 0.7922 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007971/0.1905, allocations: 0.6768 MB / 0.7929 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1905, allocations: 0 / 0.7929 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1906, allocations: 0 / 0.7929 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.1906, allocations: 0 / 0.7929 GB, free: 6.473 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001367/0.1919, allocations: 0.8818 MB / 0.7937 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.192, allocations: 12.03 kB / 0.7937 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.1921, allocations: 42.75 kB / 0.7938 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000746/0.1928, allocations: 119.8 kB / 0.7939 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000988/0.1938, allocations: 0.5818 MB / 0.7944 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1938, allocations: 8.375 kB / 0.7945 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.1939, allocations: 16.38 kB / 0.7945 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005223/0.1944, allocations: 198.1 kB / 0.7947 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1944, allocations: 3.938 kB / 0.7947 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.1945, allocations: 8 kB / 0.7947 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1945, allocations: 4 kB / 0.7947 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000655/0.1952, allocations: 219.9 kB / 0.7949 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.1967, allocations: 0.9294 MB / 0.7958 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008772/0.1976, allocations: 322.5 kB / 0.7961 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.1979, allocations: 108.8 kB / 0.7962 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/0.1993, allocations: 400.7 kB / 0.7966 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.1993, allocations: 38.55 kB / 0.7966 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.1993, allocations: 0 / 0.7966 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.001097/0.2004, allocations: 396.6 kB / 0.797 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.2005, allocations: 55.41 kB / 0.7971 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.2021, allocations: 0.9939 MB / 0.798 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.2022, allocations: 25.7 kB / 0.798 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.2026, allocations: 348 kB / 0.7984 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.2026, allocations: 31.55 kB / 0.7984 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.2027, allocations: 25.66 kB / 0.7984 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2028, allocations: 310 kB / 0.7987 GB, free: 200 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.2031, allocations: 99.94 kB / 0.7988 GB, free: 100 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.2034, allocations: 126.4 kB / 0.7989 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005997/0.2041, allocations: 214.4 kB / 0.7992 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2041, allocations: 0 / 0.7992 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007941/0.2049, allocations: 320.5 kB / 0.7995 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2049, allocations: 8 kB / 0.7995 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2049, allocations: 3.984 kB / 0.7995 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2049, allocations: 0 / 0.7995 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.2052, allocations: 28.05 kB / 0.7995 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2052, allocations: 3.938 kB / 0.7995 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.2055, allocations: 15.89 kB / 0.7995 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.87e-05/0.2055, allocations: 0 / 0.7995 GB, free: 15.37 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.000344/0.2058, allocations: 254.8 kB / 0.7998 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.206, allocations: 75 kB / 0.7998 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008877/0.2069, allocations: 332.4 kB / 0.8001 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2069, allocations: 0 / 0.8001 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2069, allocations: 0 / 0.8001 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2069, allocations: 0 / 0.8001 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007628/0.2077, allocations: 0.5325 MB / 0.8007 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2077, allocations: 0 / 0.8007 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.2079, allocations: 23.92 kB / 0.8007 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.208, allocations: 0 / 0.8007 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.208, allocations: 0 / 0.8007 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.208, allocations: 4 kB / 0.8007 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.208, allocations: 4 kB / 0.8007 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007959/0.2088, allocations: 410.3 kB / 0.8011 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/0.2091, allocations: 176.1 kB / 0.8013 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.261e-05/0.2092, allocations: 4 kB / 0.8013 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.2095, allocations: 11.98 kB / 0.8013 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.2095, allocations: 4 kB / 0.8013 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.2096, allocations: 7.984 kB / 0.8013 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001253/0.2108, allocations: 0.7175 MB / 0.802 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2108, allocations: 0 / 0.802 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005505/0.2114, allocations: 71.94 kB / 0.8021 GB, free: 12.67 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.001218/0.2126, allocations: 0.9575 MB / 0.803 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000663/0.2133, allocations: 211.8 kB / 0.8032 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2133, allocations: 0 / 0.8032 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.2136, allocations: 116.2 kB / 0.8033 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006202/0.2143, allocations: 51.56 kB / 0.8033 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008526/0.2228, allocations: 6.789 MB / 0.81 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.2233, allocations: 0.9479 MB / 0.8109 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002009/0.2235, allocations: 85.31 kB / 0.811 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.2237, allocations: 215.4 kB / 0.8112 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of SimCode: time 3.81e-07/0.2238, allocations: 3.938 kB / 0.8112 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.83/2.053, allocations: 11.26 MB / 0.8222 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002873/2.054, allocations: 231 kB / 0.8224 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/4.266, allocations: 0 / 0.8224 GB, free: 7.824 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)