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.001241/0.001241, allocations: 107.1 kB / 16.41 MB, free: 6.492 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.001229/0.001229, allocations: 191.9 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.407/1.407, 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.8256/0.8256, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 63.58 kB / 0.5735 GB, free: 27.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1583, allocations: 78.87 MB / 0.6506 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003629/0.162, allocations: 2.179 MB / 0.6527 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.1644, allocations: 1.372 MB / 0.654 GB, free: 32 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1646, allocations: 3.938 kB / 0.654 GB, free: 28 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006676/0.1653, allocations: 243.2 kB / 0.6543 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009872/0.1663, allocations: 449.3 kB / 0.6547 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 1.089e-05/0.1663, allocations: 0 / 0.6547 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004082/0.1667, allocations: 394.5 kB / 0.6551 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.153e-05/0.1668, allocations: 16.34 kB / 0.6551 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.1669, allocations: 143.4 kB / 0.6552 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.1672, allocations: 195.2 kB / 0.6554 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.1672, allocations: 28 kB / 0.6554 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005052/0.1678, allocations: 267.7 kB / 0.6557 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003471/0.1681, allocations: 386.9 kB / 0.6561 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.1685, allocations: 409.7 kB / 0.6565 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.1697, allocations: 1.159 MB / 0.6576 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1697, allocations: 0 / 0.6576 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1697, allocations: 0 / 0.6576 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.1697, 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.001645/0.1714, allocations: 1.251 MB / 0.6588 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1714, allocations: 12.03 kB / 0.6588 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.629e-05/0.1715, allocations: 46.73 kB / 0.6589 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006423/0.1721, allocations: 156.2 kB / 0.659 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004138/0.1763, allocations: 4.27 MB / 0.6632 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.1763, allocations: 16.12 kB / 0.6632 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.1764, allocations: 12 kB / 0.6632 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008318/0.1772, allocations: 0.6352 MB / 0.6638 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1772, allocations: 4 kB / 0.6638 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.1773, allocations: 4 kB / 0.6638 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1773, allocations: 4 kB / 0.6638 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.1786, allocations: 1.113 MB / 0.6649 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003625/0.1823, allocations: 3.151 MB / 0.668 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007991/0.1831, allocations: 350.7 kB / 0.6683 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.1835, allocations: 232.7 kB / 0.6686 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.295e-05/0.1835, allocations: 27.97 kB / 0.6686 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1836, allocations: 38.5 kB / 0.6686 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 2.114e-06/0.1836, allocations: 0 / 0.6686 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001331/0.1849, allocations: 0.7208 MB / 0.6693 GB, free: 156 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.185, allocations: 55.41 kB / 0.6694 GB, free: 88 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007362/0.1923, allocations: 6.497 MB / 0.6757 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.1924, allocations: 33.7 kB / 0.6758 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/0.1928, allocations: 412.5 kB / 0.6761 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/0.1929, allocations: 79.33 kB / 0.6762 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.193, allocations: 53.69 kB / 0.6763 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.1932, allocations: 318 kB / 0.6766 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006785/0.1938, allocations: 0.531 MB / 0.6771 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006743/0.1945, allocations: 0.5561 MB / 0.6776 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.1956, allocations: 0.7713 MB / 0.6784 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.1956, allocations: 4 kB / 0.6784 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001745/0.1974, allocations: 1.235 MB / 0.6796 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1974, allocations: 4 kB / 0.6796 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1974, allocations: 4 kB / 0.6796 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1974, allocations: 0 / 0.6796 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.1978, allocations: 59.95 kB / 0.6797 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1978, allocations: 7.938 kB / 0.6797 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.1983, allocations: 43.75 kB / 0.6797 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.1983, allocations: 12 kB / 0.6797 GB, free: 5.422 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.0003589/0.1987, allocations: 285.6 kB / 0.68 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.1988, allocations: 95.38 kB / 0.6801 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009868/0.1998, allocations: 0.5546 MB / 0.6806 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.1998, allocations: 8 kB / 0.6806 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1998, allocations: 0 / 0.6806 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1998, allocations: 3.984 kB / 0.6806 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/0.2032, allocations: 2.814 MB / 0.6834 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.2033, allocations: 4 kB / 0.6834 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.2035, allocations: 51.91 kB / 0.6834 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.2035, allocations: 4 kB / 0.6835 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.2036, allocations: 12.42 kB / 0.6835 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.2036, allocations: 4 kB / 0.6835 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.944e-06/0.2036, allocations: 19.88 kB / 0.6835 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.2046, allocations: 0.6821 MB / 0.6842 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.2049, allocations: 252.4 kB / 0.6844 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.205, allocations: 16 kB / 0.6844 GB, free: 420 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.2054, allocations: 31.97 kB / 0.6844 GB, free: 388 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.2055, allocations: 27.86 kB / 0.6845 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.2055, allocations: 8 kB / 0.6845 GB, free: 352 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005049/0.2105, allocations: 5.16 MB / 0.6895 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2106, allocations: 0 / 0.6895 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000715/0.2113, allocations: 191.9 kB / 0.6897 GB, free: 10.98 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.001613/0.2129, allocations: 1.286 MB / 0.691 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.2141, allocations: 0.7847 MB / 0.6917 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2141, allocations: 0 / 0.6917 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003773/0.2144, allocations: 232.3 kB / 0.6919 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008971/0.2154, allocations: 190.5 kB / 0.6921 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02583/0.2412, allocations: 22.95 MB / 0.7145 GB, free: 1.219 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/0.2419, allocations: 0.9953 MB / 0.7155 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004256/0.2424, allocations: 149.4 kB / 0.7156 GB, free: 44 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004416/0.2428, allocations: 295.3 kB / 0.7159 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of SimCode: time 3.937e-06/0.2428, allocations: 0 / 0.7159 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05449/0.2973, allocations: 23.55 MB / 0.7389 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.654/9.952, allocations: 11.94 kB / 0.7389 GB, free: 8.426 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1)