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.001064/0.001064, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.284/1.284, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.709/1.709, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001501/0.001501, allocations: 66.69 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1831, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003921/0.1871, allocations: 2.776 MB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.1889, allocations: 1.094 MB / 0.7873 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.1891, allocations: 4 kB / 0.7873 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006643/0.1898, allocations: 215 kB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.1901, allocations: 87.23 kB / 0.7875 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.1907, allocations: 187.6 kB / 0.7877 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.1912, allocations: 411.8 kB / 0.7881 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.1915, allocations: 213.8 kB / 0.7883 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.1917, allocations: 159.2 kB / 0.7885 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.1919, allocations: 187 kB / 0.7887 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.248e-05/0.1919, allocations: 40 kB / 0.7887 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.1923, allocations: 179.8 kB / 0.7889 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.1925, allocations: 255.2 kB / 0.7891 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.1928, allocations: 361.5 kB / 0.7895 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008473/0.1936, allocations: 0.9574 MB / 0.7904 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1936, allocations: 0 / 0.7904 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1936, allocations: 3.938 kB / 0.7904 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.396e-05/0.1937, allocations: 0 / 0.7904 GB, free: 6.262 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.001629/0.1953, allocations: 1.143 MB / 0.7915 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1953, allocations: 12.03 kB / 0.7915 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.021e-05/0.1954, allocations: 66.72 kB / 0.7916 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.1968, allocations: 239.5 kB / 0.7918 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.1981, allocations: 0.7386 MB / 0.7925 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.1981, allocations: 25.03 kB / 0.7926 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.1982, allocations: 28.38 kB / 0.7926 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008031/0.199, allocations: 390.3 kB / 0.793 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.199, allocations: 0 / 0.793 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.1991, allocations: 19.98 kB / 0.793 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1991, allocations: 8 kB / 0.793 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.2001, allocations: 418.3 kB / 0.7934 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003001/0.2031, allocations: 1.803 MB / 0.7951 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.2038, allocations: 236.9 kB / 0.7954 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.2041, allocations: 88.81 kB / 0.7954 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.2042, allocations: 4 kB / 0.7955 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.2042, allocations: 46.56 kB / 0.7955 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.2042, allocations: 0 / 0.7955 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.001101/0.2053, allocations: 376.3 kB / 0.7959 GB, free: 428 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.2054, allocations: 51.41 kB / 0.7959 GB, free: 364 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.2067, allocations: 1.267 MB / 0.7971 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.2068, allocations: 29.7 kB / 0.7972 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.2071, allocations: 432.6 kB / 0.7976 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.2072, allocations: 75 kB / 0.7977 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/0.2073, allocations: 53.69 kB / 0.7977 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.2074, allocations: 313.9 kB / 0.798 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.2078, allocations: 147.9 kB / 0.7981 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.2082, allocations: 201.9 kB / 0.7983 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006774/0.2088, allocations: 287.9 kB / 0.7986 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2089, allocations: 0 / 0.7986 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009369/0.2098, allocations: 470.6 kB / 0.7991 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2098, allocations: 4 kB / 0.7991 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2098, allocations: 11.94 kB / 0.7991 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2099, allocations: 0 / 0.7991 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.2102, allocations: 64.02 kB / 0.7991 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.2102, allocations: 4 kB / 0.7991 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.2105, allocations: 35.67 kB / 0.7992 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.2106, allocations: 12 kB / 0.7992 GB, free: 12.91 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.0002874/0.2109, allocations: 273.7 kB / 0.7994 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.211, allocations: 86.88 kB / 0.7995 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008966/0.2119, allocations: 340.7 kB / 0.7999 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2119, allocations: 8 kB / 0.7999 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2119, allocations: 0 / 0.7999 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2119, allocations: 0 / 0.7999 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.2136, allocations: 1.004 MB / 0.8008 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.2136, allocations: 4.188 kB / 0.8008 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.2139, allocations: 51.84 kB / 0.8009 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2139, allocations: 0 / 0.8009 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.214, allocations: 8 kB / 0.8009 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.214, allocations: 4 kB / 0.8009 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.214, allocations: 0 / 0.8009 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007978/0.2148, allocations: 447.7 kB / 0.8013 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.215, allocations: 207.9 kB / 0.8015 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.411e-05/0.2151, allocations: 8 kB / 0.8015 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.2154, allocations: 15.98 kB / 0.8016 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.2155, allocations: 27.86 kB / 0.8016 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.2155, allocations: 11.98 kB / 0.8016 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001016/0.2165, allocations: 0.9111 MB / 0.8025 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2165, allocations: 0 / 0.8025 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004219/0.217, allocations: 103.8 kB / 0.8026 GB, free: 9.27 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.001139/0.2181, allocations: 0.9858 MB / 0.8035 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007728/0.2189, allocations: 291.6 kB / 0.8038 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2189, allocations: 0 / 0.8038 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003371/0.2192, allocations: 111.4 kB / 0.8039 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.2197, allocations: 74.53 kB / 0.804 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009832/0.2296, allocations: 7.697 MB / 0.8115 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005664/0.2302, allocations: 1.007 MB / 0.8125 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003623/0.2305, allocations: 100.7 kB / 0.8126 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/0.2309, allocations: 287.3 kB / 0.8129 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of SimCode: time 5.11e-07/0.2309, allocations: 0 / 0.8129 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.2618, allocations: 13.62 MB / 0.8262 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.624/7.886, allocations: 18.41 kB / 0.8262 GB, free: 0.918 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)