Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.597/1.597, allocations: 287.4 MB / 302.6 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009742/0.0009744, allocations: 177.2 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006824/0.0006825, allocations: 82.36 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 12.38 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1484, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.001918/0.1503, allocations: 2.326 MB / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1513, allocations: 1.012 MB / 0.982 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1514, allocations: 4 kB / 0.982 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.1518, allocations: 186.9 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.1519, allocations: 63.55 kB / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1522, allocations: 135.8 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.1525, allocations: 371.8 kB / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.1527, allocations: 202 kB / 0.9829 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1528, allocations: 115.4 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.1529, allocations: 151.1 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.153, allocations: 12 kB / 0.9832 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.1532, allocations: 135.8 kB / 0.9833 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.1533, allocations: 227.2 kB / 0.9835 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.605e-05/0.1534, allocations: 145.2 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.1538, allocations: 0.7363 MB / 0.9844 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1538, allocations: 4 kB / 0.9844 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1538, allocations: 0 / 0.9844 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.1539, allocations: 0 / 0.9844 GB, free: 22.26 MB / 0.6198 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.0009167/0.1548, allocations: 1.011 MB / 0.9854 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1548, allocations: 12.02 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.961e-05/0.1549, allocations: 62.73 kB / 0.9854 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.1559, allocations: 267.5 kB / 0.9857 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.157, allocations: 0.7621 MB / 0.9864 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.157, allocations: 21.03 kB / 0.9865 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.1571, allocations: 32.31 kB / 0.9865 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.1577, allocations: 398.3 kB / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1577, allocations: 0 / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.1577, allocations: 12 kB / 0.9869 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1578, allocations: 4 kB / 0.9869 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008238/0.1586, allocations: 434.3 kB / 0.9873 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/0.1614, allocations: 2.143 MB / 0.9894 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/0.162, allocations: 230.6 kB / 0.9896 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.1623, allocations: 96.75 kB / 0.9897 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.1623, allocations: 8 kB / 0.9897 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.1623, allocations: 34.56 kB / 0.9897 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.1623, allocations: 0 / 0.9897 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0008659/0.1632, allocations: 382.3 kB / 0.9901 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.751e-05/0.1632, allocations: 55.41 kB / 0.9902 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009813/0.1642, allocations: 1.248 MB / 0.9914 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1642, allocations: 33.7 kB / 0.9914 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.1644, allocations: 432.2 kB / 0.9918 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.1645, allocations: 67.02 kB / 0.9919 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.1645, allocations: 8 kB / 0.9919 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.1646, allocations: 314 kB / 0.9922 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.1648, allocations: 155.9 kB / 0.9923 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.1651, allocations: 206.7 kB / 0.9925 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.1657, allocations: 279.5 kB / 0.9928 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1657, allocations: 4 kB / 0.9928 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006944/0.1664, allocations: 480.1 kB / 0.9933 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1664, allocations: 4 kB / 0.9933 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1664, allocations: 7.938 kB / 0.9933 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1664, allocations: 0 / 0.9933 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.1667, allocations: 63.89 kB / 0.9933 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1667, allocations: 4 kB / 0.9933 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.167, allocations: 35.73 kB / 0.9934 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.167, allocations: 12 kB / 0.9934 GB, free: 12.69 MB / 0.6198 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 ($PRE.opeModWarUpEngTem.temChe.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002217/0.1673, allocations: 277.6 kB / 0.9937 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.358e-05/0.1673, allocations: 82.88 kB / 0.9937 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007025/0.168, allocations: 337.8 kB / 0.9941 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1681, allocations: 3.984 kB / 0.9941 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1681, allocations: 0 / 0.9941 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1681, allocations: 4 kB / 0.9941 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.1694, allocations: 1.002 MB / 0.995 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1694, allocations: 4 kB / 0.995 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.1696, allocations: 47.89 kB / 0.9951 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1696, allocations: 8.188 kB / 0.9951 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.1697, allocations: 8 kB / 0.9951 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.1697, allocations: 0 / 0.9951 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1697, allocations: 4 kB / 0.9951 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006038/0.1703, allocations: 449 kB / 0.9955 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.1705, allocations: 207.9 kB / 0.9957 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.291e-05/0.1705, allocations: 4 kB / 0.9957 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.1708, allocations: 15.98 kB / 0.9958 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.1708, allocations: 27.84 kB / 0.9958 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.1709, allocations: 8 kB / 0.9958 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007667/0.1716, allocations: 0.9072 MB / 0.9967 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1716, allocations: 0 / 0.9967 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003511/0.172, allocations: 115.7 kB / 0.9968 GB, free: 9.055 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008137/0.1728, allocations: 0.9923 MB / 0.9978 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005952/0.1734, allocations: 267.8 kB / 0.998 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1734, allocations: 0 / 0.998 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.1737, allocations: 116.4 kB / 0.9981 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.1743, allocations: 68.14 kB / 0.9982 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00672/0.181, allocations: 5.557 MB / 1.004 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.1814, allocations: 0.9956 MB / 1.005 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003416/0.1817, allocations: 104.7 kB / 1.005 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.182, allocations: 291.3 kB / 1.005 GB, free: 400 kB / 0.6198 GB Notification: Performance of SimCode: time 3.7e-07/0.182, allocations: 0 / 1.005 GB, free: 400 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7262/0.9082, allocations: 13.83 MB / 1.018 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002805/0.9086, allocations: 213.2 kB / 1.019 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/3.161, allocations: 0 / 1.019 GB, free: 2.512 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1)