Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",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.001863/0.001863, allocations: 109.8 kB / 16.41 MB, free: 6.496 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.001984/0.001984, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8175/0.8175, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 63.56 kB / 0.5736 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1532, allocations: 78.87 MB / 0.6506 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003239/0.1565, allocations: 2.165 MB / 0.6527 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.1587, allocations: 1.376 MB / 0.654 GB, free: 24 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.151e-05/0.1588, allocations: 0 / 0.654 GB, free: 24 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000612/0.1594, allocations: 251.1 kB / 0.6543 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008859/0.1603, allocations: 441.4 kB / 0.6547 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.881e-06/0.1603, allocations: 0 / 0.6547 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.1607, allocations: 398.5 kB / 0.6551 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.1608, allocations: 16.39 kB / 0.6551 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.1609, allocations: 147.4 kB / 0.6552 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.1611, allocations: 191.2 kB / 0.6554 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.1612, allocations: 24 kB / 0.6554 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004736/0.1617, allocations: 279.6 kB / 0.6557 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003315/0.162, allocations: 382.9 kB / 0.6561 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.1624, allocations: 413.7 kB / 0.6565 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.1635, allocations: 1.148 MB / 0.6576 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1635, allocations: 0 / 0.6576 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.81e-07/0.1635, allocations: 0 / 0.6576 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.1635, allocations: 0 / 0.6576 GB, free: 12.38 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001581/0.1651, allocations: 1.262 MB / 0.6588 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1652, allocations: 8.031 kB / 0.6588 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.491e-05/0.1652, allocations: 50.73 kB / 0.6589 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006118/0.1659, allocations: 156.2 kB / 0.659 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004092/0.17, allocations: 4.27 MB / 0.6632 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.17, allocations: 16.12 kB / 0.6632 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.17, allocations: 12 kB / 0.6632 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008509/0.1709, allocations: 0.6313 MB / 0.6638 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.1709, allocations: 4 kB / 0.6638 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.1709, allocations: 8 kB / 0.6638 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.171, allocations: 4 kB / 0.6638 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.1723, allocations: 1.109 MB / 0.6649 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003598/0.1759, allocations: 3.159 MB / 0.668 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007778/0.1767, allocations: 346.7 kB / 0.6683 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.1771, allocations: 236.7 kB / 0.6686 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.1772, allocations: 19.98 kB / 0.6686 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1772, allocations: 38.56 kB / 0.6686 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.924e-06/0.1772, allocations: 0 / 0.6686 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001336/0.1786, allocations: 0.7221 MB / 0.6693 GB, free: 144 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.1786, allocations: 59.39 kB / 0.6694 GB, free: 72 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007645/0.1863, allocations: 6.493 MB / 0.6757 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.1863, allocations: 33.7 kB / 0.6758 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.1867, allocations: 416.5 kB / 0.6762 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.1868, allocations: 67.42 kB / 0.6762 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.1869, allocations: 57.69 kB / 0.6763 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.1871, allocations: 326 kB / 0.6766 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006599/0.1877, allocations: 0.531 MB / 0.6771 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000679/0.1884, allocations: 0.5483 MB / 0.6776 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.1895, allocations: 0.7674 MB / 0.6784 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1895, allocations: 3.938 kB / 0.6784 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001636/0.1911, allocations: 1.231 MB / 0.6796 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1911, allocations: 4 kB / 0.6796 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1912, allocations: 8.031 kB / 0.6796 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1912, allocations: 3.984 kB / 0.6796 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.1915, allocations: 63.89 kB / 0.6797 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1915, allocations: 4 kB / 0.6797 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.1919, allocations: 39.77 kB / 0.6797 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.1919, allocations: 12 kB / 0.6797 GB, free: 5.418 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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.0003173/0.1923, allocations: 289.6 kB / 0.68 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.1924, allocations: 95.39 kB / 0.6801 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009678/0.1934, allocations: 0.5567 MB / 0.6806 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.1934, allocations: 4 kB / 0.6806 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1934, allocations: 3.938 kB / 0.6806 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1934, allocations: 4 kB / 0.6806 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.1969, allocations: 2.811 MB / 0.6834 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.1969, allocations: 4 kB / 0.6834 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.1972, allocations: 59.83 kB / 0.6834 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.1972, allocations: 4 kB / 0.6835 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.1972, allocations: 8 kB / 0.6835 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.1972, allocations: 7.938 kB / 0.6835 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.1972, allocations: 8.312 kB / 0.6835 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.1983, allocations: 0.6853 MB / 0.6841 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/0.1986, allocations: 260.3 kB / 0.6844 GB, free: 420 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.1987, allocations: 15.98 kB / 0.6844 GB, free: 404 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.1991, allocations: 23.98 kB / 0.6844 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.1991, allocations: 31.86 kB / 0.6845 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.1992, allocations: 11.94 kB / 0.6845 GB, free: 336 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005165/0.2043, allocations: 5.16 MB / 0.6895 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2043, allocations: 0 / 0.6895 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007183/0.2051, allocations: 187.9 kB / 0.6897 GB, free: 10.97 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.001762/0.2068, allocations: 1.289 MB / 0.691 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.2081, allocations: 0.7865 MB / 0.6917 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.2081, allocations: 0 / 0.6917 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.2085, allocations: 228.6 kB / 0.6919 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009155/0.2094, allocations: 194.1 kB / 0.6921 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02563/0.2351, allocations: 22.94 MB / 0.7145 GB, free: 1.211 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/0.2358, allocations: 1.007 MB / 0.7155 GB, free: 176 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003836/0.2362, allocations: 153.4 kB / 0.7157 GB, free: 20 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/0.2366, allocations: 295.3 kB / 0.7159 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2366, allocations: 0 / 0.7159 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05323/0.2899, allocations: 23.54 MB / 0.7389 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.545/9.835, allocations: 9.484 kB / 0.7389 GB, free: 8.418 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1)