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.001251/0.001251, allocations: 109.9 kB / 15.99 MB, free: 5.871 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.001216/0.001216, allocations: 191 kB / 16.91 MB, free: 5.738 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.809/0.809, allocations: 126.7 MB / 417.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.8 kB / 0.4954 GB, free: 9.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1593, allocations: 78.87 MB / 0.5724 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003713/0.1631, allocations: 2.226 MB / 0.5746 GB, free: 8.945 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.1653, allocations: 1.357 MB / 0.5759 GB, free: 7.582 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.494e-05/0.1654, allocations: 0 / 0.5759 GB, free: 7.582 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006804/0.1661, allocations: 259.2 kB / 0.5761 GB, free: 7.328 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009263/0.1671, allocations: 395.2 kB / 0.5765 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.304e-06/0.1671, allocations: 0 / 0.5765 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004345/0.1675, allocations: 406.5 kB / 0.5769 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.314e-05/0.1676, allocations: 24.34 kB / 0.5769 GB, free: 6.516 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.1677, allocations: 139.4 kB / 0.577 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.168, allocations: 243 kB / 0.5773 GB, free: 6.141 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.1681, allocations: 24 kB / 0.5773 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004257/0.1685, allocations: 271.7 kB / 0.5776 GB, free: 5.852 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.1689, allocations: 382.9 kB / 0.5779 GB, free: 5.477 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003503/0.1692, allocations: 417.7 kB / 0.5783 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.1703, allocations: 1.141 MB / 0.5794 GB, free: 3.922 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1703, allocations: 0 / 0.5794 GB, free: 3.922 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1703, allocations: 0 / 0.5794 GB, free: 3.922 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1703, allocations: 0 / 0.5794 GB, free: 3.922 MB / 446.1 MB 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.001625/0.172, allocations: 1.22 MB / 0.5806 GB, free: 2.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.172, allocations: 8.031 kB / 0.5806 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.281e-05/0.1721, allocations: 50.67 kB / 0.5807 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006404/0.1727, allocations: 151.7 kB / 0.5808 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.248/0.4207, allocations: 4.257 MB / 0.585 GB, free: 18.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.4208, allocations: 12.88 kB / 0.585 GB, free: 18.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.4209, allocations: 13.53 kB / 0.585 GB, free: 18.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.4222, allocations: 0.6279 MB / 0.5856 GB, free: 18.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4222, allocations: 0 / 0.5856 GB, free: 18.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.4222, allocations: 6.609 kB / 0.5856 GB, free: 18.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.4222, allocations: 4.125 kB / 0.5856 GB, free: 18.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.4239, allocations: 1.115 MB / 0.5867 GB, free: 18.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004158/0.4281, allocations: 3.152 MB / 0.5898 GB, free: 17.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007796/0.4289, allocations: 347.7 kB / 0.5901 GB, free: 17.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.4293, allocations: 234.9 kB / 0.5904 GB, free: 17.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.326e-05/0.4294, allocations: 27.89 kB / 0.5904 GB, free: 17.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.4294, allocations: 33.64 kB / 0.5904 GB, free: 16.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 2.264e-06/0.4294, allocations: 0 / 0.5904 GB, free: 16.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001385/0.4308, allocations: 0.7141 MB / 0.5911 GB, free: 16.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.4309, allocations: 58.19 kB / 0.5912 GB, free: 16.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007806/0.4387, allocations: 6.499 MB / 0.5975 GB, free: 14.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.4388, allocations: 32.02 kB / 0.5975 GB, free: 14.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.4391, allocations: 419.1 kB / 0.5979 GB, free: 14.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.4391, allocations: 64.31 kB / 0.598 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.4392, allocations: 65.78 kB / 0.5981 GB, free: 14.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.4393, allocations: 314.9 kB / 0.5984 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006032/0.4399, allocations: 0.5274 MB / 0.5989 GB, free: 13.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/0.4405, allocations: 0.5532 MB / 0.5994 GB, free: 13.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008809/0.4414, allocations: 0.7699 MB / 0.6002 GB, free: 13.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4414, allocations: 0 / 0.6002 GB, free: 13.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001551/0.443, allocations: 1.224 MB / 0.6014 GB, free: 12.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.443, allocations: 5.094 kB / 0.6014 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.443, allocations: 5.859 kB / 0.6014 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.4431, allocations: 0.9375 kB / 0.6014 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.4434, allocations: 71.97 kB / 0.6015 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4434, allocations: 5.219 kB / 0.6015 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.4439, allocations: 44.23 kB / 0.6015 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.444, allocations: 10.75 kB / 0.6015 GB, free: 12.91 MB / 446.1 MB 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.0003703/0.4443, allocations: 284.8 kB / 0.6018 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.4445, allocations: 86.5 kB / 0.6019 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000913/0.4454, allocations: 0.5617 MB / 0.6024 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4454, allocations: 8.031 kB / 0.6024 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4454, allocations: 0 / 0.6024 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4454, allocations: 2.703 kB / 0.6024 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.4486, allocations: 2.817 MB / 0.6052 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.4486, allocations: 4.281 kB / 0.6052 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.4489, allocations: 50.44 kB / 0.6052 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.4489, allocations: 6.281 kB / 0.6052 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.4489, allocations: 16.14 kB / 0.6052 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.547e-06/0.4489, allocations: 15 kB / 0.6053 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4489, allocations: 4.969 kB / 0.6053 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000918/0.4499, allocations: 0.6763 MB / 0.6059 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.4501, allocations: 253.4 kB / 0.6062 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.4503, allocations: 15.59 kB / 0.6062 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.4507, allocations: 28.39 kB / 0.6062 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.4507, allocations: 26.75 kB / 0.6062 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.4507, allocations: 11.38 kB / 0.6062 GB, free: 10.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004746/0.4555, allocations: 5.158 MB / 0.6113 GB, free: 8.875 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4555, allocations: 7.938 kB / 0.6113 GB, free: 8.867 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005982/0.4561, allocations: 187.6 kB / 0.6115 GB, free: 8.859 MB / 446.1 MB 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.001248/0.4574, allocations: 1.283 MB / 0.6127 GB, free: 7.934 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.4584, allocations: 0.7804 MB / 0.6135 GB, free: 7.527 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4584, allocations: 0 / 0.6135 GB, free: 7.527 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.4587, allocations: 227.2 kB / 0.6137 GB, free: 7.332 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008276/0.4595, allocations: 191.9 kB / 0.6139 GB, free: 7.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02503/0.4846, allocations: 23.51 MB / 0.6368 GB, free: 76 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007372/0.4854, allocations: 0.9992 MB / 0.6378 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005138/0.4859, allocations: 155.1 kB / 0.638 GB, free: 14.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/0.4864, allocations: 295.3 kB / 0.6383 GB, free: 14.61 MB / 478.1 MB Notification: Performance of SimCode: time 1.663e-06/0.4864, allocations: 0 / 0.6383 GB, free: 14.61 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.721/1.207, allocations: 23.25 MB / 0.661 GB, free: 7.645 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/1.208, allocations: 224.7 kB / 0.6612 GB, free: 7.383 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/4.053, allocations: 0 / 0.6612 GB, free: 7.383 MB / 494.1 MB (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)