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.001454/0.001454, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001867/0.001867, allocations: 190.9 kB / 16.14 MB, free: 6.707 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.275/1.275, allocations: 205.1 MB / 222 MB, free: 4.781 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.3 MB / 0.5484 GB, free: 13.68 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.001213/0.001213, allocations: 73.19 kB / 0.6709 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1653, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002995/0.1684, allocations: 2.325 MB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1695, allocations: 0.9542 MB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.51e-05/0.1696, allocations: 0 / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004484/0.17, allocations: 191.4 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.94e-05/0.1701, allocations: 55.64 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.1704, allocations: 91.83 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000188/0.1706, allocations: 211.1 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.1707, allocations: 93.66 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.436e-05/0.1708, allocations: 83.53 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.257e-05/0.1709, allocations: 99.42 kB / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.171, allocations: 12 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.1712, allocations: 151.8 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.1714, allocations: 207.3 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.1715, allocations: 254 kB / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005/0.172, allocations: 0.6887 MB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.172, allocations: 0 / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.92e-07/0.172, allocations: 0 / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.1721, allocations: 0 / 0.788 GB, free: 8.504 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.0009742/0.173, allocations: 0.9824 MB / 0.789 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1731, allocations: 12.03 kB / 0.789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.1731, allocations: 46.73 kB / 0.7891 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004721/0.1736, allocations: 119.8 kB / 0.7892 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006148/0.1742, allocations: 0.5896 MB / 0.7898 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.1742, allocations: 4.375 kB / 0.7898 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.1743, allocations: 12.38 kB / 0.7898 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.1746, allocations: 194.1 kB / 0.79 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1746, allocations: 3.938 kB / 0.79 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1746, allocations: 4 kB / 0.79 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1746, allocations: 8 kB / 0.79 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.1751, allocations: 227.9 kB / 0.7902 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009571/0.176, allocations: 0.9139 MB / 0.7911 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.1766, allocations: 318.4 kB / 0.7914 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.1768, allocations: 108.9 kB / 0.7915 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005475/0.1774, allocations: 245 kB / 0.7917 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.1774, allocations: 34.56 kB / 0.7918 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.1774, allocations: 0 / 0.7918 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006813/0.1781, allocations: 396.5 kB / 0.7921 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.1781, allocations: 67.39 kB / 0.7922 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009892/0.1791, allocations: 0.9896 MB / 0.7932 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1791, allocations: 29.7 kB / 0.7932 GB, free: 3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.1794, allocations: 344 kB / 0.7935 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.1794, allocations: 31.55 kB / 0.7935 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.1795, allocations: 25.7 kB / 0.7936 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.1796, allocations: 310 kB / 0.7939 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.1797, allocations: 99.95 kB / 0.794 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.1799, allocations: 130.3 kB / 0.7941 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.1803, allocations: 218.4 kB / 0.7943 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1803, allocations: 0 / 0.7943 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004745/0.1808, allocations: 328.5 kB / 0.7946 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1808, allocations: 4 kB / 0.7946 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1808, allocations: 0 / 0.7946 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1808, allocations: 4 kB / 0.7946 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.181, allocations: 23.97 kB / 0.7946 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.181, allocations: 8.406 kB / 0.7946 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.1811, allocations: 7.906 kB / 0.7947 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.1812, allocations: 12.06 kB / 0.7947 GB, free: 1.445 MB / 0.6075 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.0002093/0.1814, allocations: 246.4 kB / 0.7949 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.1815, allocations: 75 kB / 0.795 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005364/0.182, allocations: 336.3 kB / 0.7953 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.182, allocations: 0 / 0.7953 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.182, allocations: 0 / 0.7953 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.182, allocations: 0 / 0.7953 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.1825, allocations: 0.5285 MB / 0.7958 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1825, allocations: 0 / 0.7958 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.1826, allocations: 23.97 kB / 0.7958 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1827, allocations: 0 / 0.7958 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1827, allocations: 4 kB / 0.7958 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1827, allocations: 0 / 0.7958 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1827, allocations: 0 / 0.7958 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.1832, allocations: 410.5 kB / 0.7962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.1834, allocations: 176.1 kB / 0.7964 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.1834, allocations: 8 kB / 0.7964 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.1836, allocations: 4 kB / 0.7964 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.1836, allocations: 11.98 kB / 0.7964 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1836, allocations: 7.938 kB / 0.7964 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007351/0.1844, allocations: 0.7214 MB / 0.7971 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1844, allocations: 0 / 0.7971 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002997/0.1847, allocations: 75.84 kB / 0.7972 GB, free: 14.74 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.0007773/0.1855, allocations: 0.9577 MB / 0.7981 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003913/0.1859, allocations: 219.9 kB / 0.7983 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1859, allocations: 0 / 0.7983 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.1861, allocations: 115.9 kB / 0.7985 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.1864, allocations: 50.55 kB / 0.7985 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007879/0.1943, allocations: 6.752 MB / 0.8051 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.1948, allocations: 0.9479 MB / 0.806 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002012/0.195, allocations: 81.27 kB / 0.8061 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.1953, allocations: 219.4 kB / 0.8063 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of SimCode: time 4.5e-07/0.1953, allocations: 3.938 kB / 0.8063 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4318/0.6271, allocations: 11.32 MB / 0.8174 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.6273, allocations: 218.3 kB / 0.8176 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.555, allocations: 0 / 0.8176 GB, free: 9.848 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)