Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.EnergyConversionNormal,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",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.649/1.649, allocations: 287.4 MB / 302.5 MB, free: 8.352 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.000978/0.0009779, allocations: 187.3 kB / 371.1 MB, free: 10.83 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.31/1.31, allocations: 205.4 MB / 0.6298 GB, free: 10.46 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.0007652/0.0007651, allocations: 90.98 kB / 0.7431 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 17.8 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1565, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.001684/0.1582, allocations: 1.89 MB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009971/0.1592, allocations: 0.8723 MB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.1593, allocations: 8 kB / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003926/0.1598, allocations: 171 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.1599, allocations: 55.62 kB / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.1601, allocations: 83.83 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1603, allocations: 203.1 kB / 0.9819 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1605, allocations: 95.45 kB / 0.982 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.101e-05/0.1605, allocations: 71.59 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-05/0.1606, allocations: 87.5 kB / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.1607, allocations: 4 kB / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.1609, allocations: 135.8 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.161, allocations: 199.4 kB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.1611, allocations: 121.3 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.1614, allocations: 0.5415 MB / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1614, allocations: 8 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1614, allocations: 0 / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.1614, allocations: 0 / 0.9832 GB, free: 23.52 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007935/0.1622, allocations: 0.8702 MB / 0.984 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1623, allocations: 8.031 kB / 0.984 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.1623, allocations: 42.75 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004439/0.1628, allocations: 127.8 kB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.1633, allocations: 0.5934 MB / 0.9848 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1634, allocations: 8.375 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.1634, allocations: 12.38 kB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.1637, allocations: 194.6 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1637, allocations: 7.875 kB / 0.985 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1637, allocations: 7.938 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1637, allocations: 4 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.1641, allocations: 235.8 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008167/0.1649, allocations: 0.9256 MB / 0.9861 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.1654, allocations: 310.5 kB / 0.9864 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.1656, allocations: 116.8 kB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007212/0.1663, allocations: 396.7 kB / 0.9869 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.1663, allocations: 34.55 kB / 0.9869 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1663, allocations: 0 / 0.9869 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0006116/0.167, allocations: 400.6 kB / 0.9873 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.676e-05/0.167, allocations: 51.41 kB / 0.9874 GB, free: 19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000807/0.1678, allocations: 0.9896 MB / 0.9883 GB, free: 18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.1678, allocations: 25.7 kB / 0.9883 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.168, allocations: 344 kB / 0.9887 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.168, allocations: 31.55 kB / 0.9887 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.168, allocations: 0 / 0.9887 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.266e-05/0.1681, allocations: 314 kB / 0.989 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.1682, allocations: 95.95 kB / 0.9891 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.1684, allocations: 118.5 kB / 0.9892 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.1687, allocations: 218.4 kB / 0.9894 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1687, allocations: 0 / 0.9894 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004018/0.1691, allocations: 328.8 kB / 0.9897 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1691, allocations: 8 kB / 0.9897 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1691, allocations: 0 / 0.9897 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1692, allocations: 0 / 0.9897 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.1693, allocations: 31.91 kB / 0.9898 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1693, allocations: 0 / 0.9898 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1695, allocations: 19.91 kB / 0.9898 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1695, allocations: 4 kB / 0.9898 GB, free: 16.45 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.1696, allocations: 253.7 kB / 0.99 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.1697, allocations: 75 kB / 0.9901 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/0.1702, allocations: 328.4 kB / 0.9904 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.1702, allocations: 8 kB / 0.9904 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1702, allocations: 4 kB / 0.9904 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1702, allocations: 0 / 0.9904 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.1706, allocations: 0.5246 MB / 0.9909 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1706, allocations: 4 kB / 0.9909 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.1707, allocations: 19.97 kB / 0.991 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1707, allocations: 4 kB / 0.991 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1707, allocations: 0 / 0.991 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1707, allocations: 0 / 0.991 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1707, allocations: 0 / 0.991 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.1711, allocations: 414.3 kB / 0.9914 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.1713, allocations: 184.1 kB / 0.9915 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.1713, allocations: 4 kB / 0.9915 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.1715, allocations: 8 kB / 0.9916 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.1715, allocations: 7.984 kB / 0.9916 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1715, allocations: 288 / 0.9916 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005971/0.1721, allocations: 0.7176 MB / 0.9923 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1721, allocations: 0 / 0.9923 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002662/0.1724, allocations: 63.94 kB / 0.9923 GB, free: 13.76 MB / 0.6198 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 (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.0005857/0.173, allocations: 0.9496 MB / 0.9932 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.1734, allocations: 215.8 kB / 0.9935 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1734, allocations: 0 / 0.9935 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.1735, allocations: 115.9 kB / 0.9936 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1739, allocations: 47.31 kB / 0.9936 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/0.179, allocations: 4.707 MB / 0.9982 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.1793, allocations: 0.9487 MB / 0.9991 GB, free: 6.664 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001942/0.1795, allocations: 81.33 kB / 0.9992 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.1797, allocations: 219.3 kB / 0.9994 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of SimCode: time 6.81e-07/0.1797, allocations: 0 / 0.9994 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.178/1.358, allocations: 11.57 MB / 1.011 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/1.358, allocations: 213.8 kB / 1.011 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/3.398, allocations: 0 / 1.011 GB, free: 10.74 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)