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.001382/0.001382, 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.001506/0.001506, allocations: 192.6 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.274/1.274, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.647/1.647, 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.001377/0.001377, allocations: 70.7 kB / 0.6711 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1808, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003582/0.1844, allocations: 2.807 MB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.1858, allocations: 1.055 MB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1859, allocations: 12 kB / 0.7868 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005225/0.1864, allocations: 203.3 kB / 0.787 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.1866, allocations: 63.56 kB / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.187, allocations: 163.8 kB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003582/0.1874, allocations: 411.8 kB / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.1877, allocations: 229.7 kB / 0.7878 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.1878, allocations: 151.2 kB / 0.7879 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.188, allocations: 195 kB / 0.7881 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/0.188, allocations: 40 kB / 0.7882 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.1883, allocations: 179.8 kB / 0.7883 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.1885, allocations: 259.2 kB / 0.7886 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.1887, allocations: 361.6 kB / 0.7889 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007363/0.1895, allocations: 0.9573 MB / 0.7899 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1895, allocations: 4 kB / 0.7899 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1895, allocations: 0 / 0.7899 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.1895, allocations: 0 / 0.7899 GB, free: 6.727 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.001321/0.1908, allocations: 1.146 MB / 0.791 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1909, allocations: 8.031 kB / 0.791 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.65e-05/0.191, allocations: 70.72 kB / 0.791 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.1923, allocations: 239.5 kB / 0.7913 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.1935, allocations: 0.7347 MB / 0.792 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.1936, allocations: 25.03 kB / 0.792 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.1936, allocations: 36.36 kB / 0.7921 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007814/0.1944, allocations: 382.3 kB / 0.7924 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1944, allocations: 3.984 kB / 0.7924 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.1945, allocations: 8 kB / 0.7924 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1945, allocations: 12 kB / 0.7924 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009638/0.1954, allocations: 422.4 kB / 0.7928 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002777/0.1982, allocations: 1.792 MB / 0.7946 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.1989, allocations: 226.5 kB / 0.7948 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.1992, allocations: 96.81 kB / 0.7949 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.1993, allocations: 4.312 kB / 0.7949 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.1993, allocations: 38.5 kB / 0.7949 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.1993, allocations: 0 / 0.7949 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.001041/0.2003, allocations: 380.3 kB / 0.7953 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.2004, allocations: 55.41 kB / 0.7954 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.2017, allocations: 1.267 MB / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.2017, allocations: 33.7 kB / 0.7966 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000314/0.2021, allocations: 436.2 kB / 0.797 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/0.2021, allocations: 63.02 kB / 0.7971 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-05/0.2022, allocations: 53.69 kB / 0.7972 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.2023, allocations: 318 kB / 0.7975 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.2027, allocations: 147.9 kB / 0.7976 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.203, allocations: 201.9 kB / 0.7978 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006308/0.2037, allocations: 287.9 kB / 0.7981 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2037, allocations: 4 kB / 0.7981 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000867/0.2046, allocations: 466.8 kB / 0.7985 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2046, allocations: 7.938 kB / 0.7985 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2046, allocations: 3.938 kB / 0.7985 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.2046, allocations: 4 kB / 0.7985 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.205, allocations: 63.89 kB / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.205, allocations: 0 / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.2053, allocations: 43.67 kB / 0.7986 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.2053, allocations: 7.984 kB / 0.7986 GB, free: 13.38 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.0002737/0.2056, allocations: 274.3 kB / 0.7989 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.2057, allocations: 86.88 kB / 0.799 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008362/0.2065, allocations: 332.5 kB / 0.7993 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2066, allocations: 4 kB / 0.7993 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2066, allocations: 3.938 kB / 0.7993 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2066, allocations: 0 / 0.7993 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.2082, allocations: 1.012 MB / 0.8003 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2082, allocations: 3.938 kB / 0.8003 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.2085, allocations: 48.09 kB / 0.8003 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.2085, allocations: 8 kB / 0.8004 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.2085, allocations: 4 kB / 0.8004 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.2085, allocations: 7.984 kB / 0.8004 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2085, allocations: 0 / 0.8004 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007637/0.2093, allocations: 443.7 kB / 0.8008 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.2095, allocations: 211.9 kB / 0.801 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.2096, allocations: 8 kB / 0.801 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.2099, allocations: 11.98 kB / 0.801 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.2099, allocations: 19.92 kB / 0.801 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.21, allocations: 15.98 kB / 0.801 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009748/0.211, allocations: 0.9111 MB / 0.8019 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.393e-06/0.211, allocations: 0 / 0.8019 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004033/0.2114, allocations: 107.7 kB / 0.802 GB, free: 9.746 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.001075/0.2125, allocations: 0.9983 MB / 0.803 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000725/0.2132, allocations: 291.7 kB / 0.8033 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2132, allocations: 0 / 0.8033 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.2135, allocations: 111.6 kB / 0.8034 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.214, allocations: 68.14 kB / 0.8035 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.2249, allocations: 7.886 MB / 0.8112 GB, free: 88 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/0.2255, allocations: 1.006 MB / 0.8121 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003554/0.2259, allocations: 96.7 kB / 0.8122 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.2262, allocations: 291.3 kB / 0.8125 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.2262, allocations: 4 kB / 0.8125 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.252, allocations: 13.49 MB / 0.8257 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.2522, allocations: 220 kB / 0.8259 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.233, allocations: 5.469 kB / 0.8259 GB, free: 1.121 MB / 0.6387 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)