Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.DryFluid,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",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.001291/0.001291, allocations: 109.8 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.001258/0.001258, 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.562/1.562, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8246/0.8246, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003217/0.003217, allocations: 68.84 kB / 0.5735 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1612, allocations: 78.87 MB / 0.6506 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003347/0.1646, allocations: 2.04 MB / 0.6525 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.1671, allocations: 1.368 MB / 0.6539 GB, free: 184 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.1673, allocations: 7.938 kB / 0.6539 GB, free: 176 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000684/0.168, allocations: 247.2 kB / 0.6541 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009903/0.169, allocations: 438.8 kB / 0.6545 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 7.184e-06/0.169, allocations: 3.938 kB / 0.6545 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004245/0.1694, allocations: 390.5 kB / 0.6549 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.1695, allocations: 20.41 kB / 0.6549 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1696, allocations: 143.4 kB / 0.6551 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.1699, allocations: 187.2 kB / 0.6553 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.1699, allocations: 24 kB / 0.6553 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004794/0.1704, allocations: 275.6 kB / 0.6555 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.1707, allocations: 386.9 kB / 0.6559 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003826/0.1711, allocations: 409.7 kB / 0.6563 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.1723, allocations: 1.159 MB / 0.6574 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1723, allocations: 0 / 0.6574 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.123e-06/0.1723, allocations: 0 / 0.6574 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.1723, allocations: 0 / 0.6574 GB, free: 12.53 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.001642/0.174, allocations: 1.251 MB / 0.6587 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.174, allocations: 8.031 kB / 0.6587 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.289e-05/0.1741, allocations: 54.67 kB / 0.6587 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006296/0.1747, allocations: 156.2 kB / 0.6589 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004105/0.1788, allocations: 4.266 MB / 0.663 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1789, allocations: 20.06 kB / 0.663 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.1789, allocations: 16 kB / 0.6631 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008352/0.1798, allocations: 0.6351 MB / 0.6637 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1798, allocations: 0 / 0.6637 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.1798, allocations: 4 kB / 0.6637 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1798, allocations: 4 kB / 0.6637 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.1812, allocations: 1.113 MB / 0.6648 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003562/0.1848, allocations: 3.155 MB / 0.6679 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008082/0.1856, allocations: 354.6 kB / 0.6682 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.186, allocations: 228.8 kB / 0.6684 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.013e-05/0.186, allocations: 23.98 kB / 0.6684 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1861, allocations: 34.56 kB / 0.6685 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.573e-06/0.1861, allocations: 4 kB / 0.6685 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001319/0.1874, allocations: 0.7144 MB / 0.6692 GB, free: 312 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.1875, allocations: 59.34 kB / 0.6692 GB, free: 240 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00742/0.1949, allocations: 6.501 MB / 0.6756 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.1949, allocations: 33.7 kB / 0.6756 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003828/0.1953, allocations: 416.5 kB / 0.676 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.498e-05/0.1954, allocations: 71.41 kB / 0.6761 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.1955, allocations: 57.69 kB / 0.6761 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1957, allocations: 310 kB / 0.6764 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006841/0.1964, allocations: 0.5349 MB / 0.6769 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007491/0.1971, allocations: 0.5561 MB / 0.6775 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.1982, allocations: 0.7635 MB / 0.6782 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1982, allocations: 0 / 0.6782 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00167/0.1999, allocations: 1.235 MB / 0.6794 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1999, allocations: 8 kB / 0.6795 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1999, allocations: 0 / 0.6795 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2, allocations: 0 / 0.6795 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.2003, allocations: 63.89 kB / 0.6795 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.2003, allocations: 8 kB / 0.6795 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.2007, allocations: 51.78 kB / 0.6796 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.2008, allocations: 15.94 kB / 0.6796 GB, free: 5.566 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.0003276/0.2011, allocations: 285.6 kB / 0.6799 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.2013, allocations: 91.39 kB / 0.6799 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009727/0.2022, allocations: 0.5567 MB / 0.6805 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2023, allocations: 4 kB / 0.6805 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2023, allocations: 0 / 0.6805 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2023, allocations: 3.984 kB / 0.6805 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/0.2057, allocations: 2.814 MB / 0.6832 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2057, allocations: 7.938 kB / 0.6833 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.2059, allocations: 52.5 kB / 0.6833 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.206, allocations: 12 kB / 0.6833 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.206, allocations: 7.984 kB / 0.6833 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/0.206, allocations: 11.94 kB / 0.6833 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.206, allocations: 4 kB / 0.6833 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009913/0.207, allocations: 0.6853 MB / 0.684 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.2073, allocations: 256.4 kB / 0.6842 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.2074, allocations: 12 kB / 0.6843 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.2078, allocations: 27.98 kB / 0.6843 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.2078, allocations: 27.84 kB / 0.6843 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.2079, allocations: 12 kB / 0.6843 GB, free: 500 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005019/0.2129, allocations: 5.157 MB / 0.6894 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2129, allocations: 0 / 0.6894 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006348/0.2136, allocations: 191.9 kB / 0.6895 GB, free: 11.13 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.001595/0.2152, allocations: 1.293 MB / 0.6908 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.2163, allocations: 0.7785 MB / 0.6916 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2163, allocations: 0 / 0.6916 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.2167, allocations: 223.8 kB / 0.6918 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008914/0.2176, allocations: 202.9 kB / 0.692 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02601/0.2436, allocations: 22.94 MB / 0.7144 GB, free: 1.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/0.2444, allocations: 1.007 MB / 0.7154 GB, free: 340 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003965/0.2448, allocations: 141.4 kB / 0.7155 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004317/0.2452, allocations: 291.4 kB / 0.7158 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/0.2452, allocations: 0 / 0.7158 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05231/0.2975, allocations: 23.56 MB / 0.7388 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.555/9.853, allocations: 7.938 kB / 0.7388 GB, free: 8.582 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_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_DryFluid.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1)