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.001783/0.001788, allocations: 106.7 kB / 16.41 MB, free: 6.438 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.001978/0.001978, allocations: 195 kB / 17.34 MB, free: 5.703 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8133/0.8133, allocations: 126.7 MB / 417.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 69.38 kB / 0.5735 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1544, allocations: 78.86 MB / 0.6506 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.00313/0.1576, allocations: 2.044 MB / 0.6525 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.1598, allocations: 1.372 MB / 0.6539 GB, free: 180 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.508e-05/0.1599, allocations: 7.938 kB / 0.6539 GB, free: 172 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006467/0.1605, allocations: 243.2 kB / 0.6541 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009179/0.1615, allocations: 437.8 kB / 0.6545 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 8.957e-06/0.1615, allocations: 4 kB / 0.6545 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004337/0.1619, allocations: 398.5 kB / 0.6549 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.657e-05/0.162, allocations: 16.41 kB / 0.6549 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.1621, allocations: 139.4 kB / 0.6551 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.1624, allocations: 199.2 kB / 0.6553 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.1624, allocations: 24 kB / 0.6553 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004695/0.1629, allocations: 271.7 kB / 0.6556 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003156/0.1632, allocations: 374.9 kB / 0.6559 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003877/0.1636, allocations: 421.7 kB / 0.6563 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.1648, allocations: 1.159 MB / 0.6574 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1648, allocations: 0 / 0.6574 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1648, allocations: 0 / 0.6574 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.1648, 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.001655/0.1665, allocations: 1.259 MB / 0.6587 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1665, allocations: 8.031 kB / 0.6587 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.584e-05/0.1666, allocations: 46.73 kB / 0.6587 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006252/0.1672, allocations: 156.2 kB / 0.6589 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004068/0.1713, allocations: 4.27 MB / 0.663 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.1713, allocations: 16.12 kB / 0.6631 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.1713, allocations: 12 kB / 0.6631 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008423/0.1722, allocations: 0.6313 MB / 0.6637 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1722, allocations: 0 / 0.6637 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.1723, allocations: 12 kB / 0.6637 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1723, allocations: 7.938 kB / 0.6637 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.1737, allocations: 1.105 MB / 0.6648 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003619/0.1773, allocations: 3.155 MB / 0.6679 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007814/0.1781, allocations: 346.7 kB / 0.6682 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.1785, allocations: 236.8 kB / 0.6684 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.037e-05/0.1786, allocations: 19.98 kB / 0.6684 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1786, allocations: 38.5 kB / 0.6685 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.1786, allocations: 0 / 0.6685 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001305/0.1799, allocations: 0.7176 MB / 0.6692 GB, free: 312 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.18, allocations: 51.41 kB / 0.6692 GB, free: 248 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007236/0.1872, allocations: 6.505 MB / 0.6756 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.1873, allocations: 25.7 kB / 0.6756 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000373/0.1876, allocations: 420.5 kB / 0.676 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.213e-05/0.1877, allocations: 67.42 kB / 0.6761 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.1878, allocations: 57.69 kB / 0.6761 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.188, allocations: 322 kB / 0.6764 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006568/0.1886, allocations: 0.5271 MB / 0.6769 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000682/0.1893, allocations: 0.5522 MB / 0.6775 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.1904, allocations: 0.7752 MB / 0.6782 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.1904, allocations: 0 / 0.6782 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001585/0.192, allocations: 1.231 MB / 0.6794 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.192, allocations: 4 kB / 0.6794 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.403e-06/0.192, allocations: 0 / 0.6794 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.192, allocations: 12.02 kB / 0.6795 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.1924, allocations: 67.89 kB / 0.6795 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1924, allocations: 0 / 0.6795 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003945/0.1928, allocations: 47.7 kB / 0.6796 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.1928, allocations: 8 kB / 0.6796 GB, free: 5.578 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.0003322/0.1932, allocations: 297.6 kB / 0.6799 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.1933, allocations: 95.38 kB / 0.68 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009894/0.1943, allocations: 0.5606 MB / 0.6805 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1943, allocations: 4 kB / 0.6805 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1944, allocations: 0 / 0.6805 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1944, allocations: 0 / 0.6805 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/0.1977, allocations: 2.822 MB / 0.6833 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.1977, allocations: 4 kB / 0.6833 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.198, allocations: 51.89 kB / 0.6833 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.198, allocations: 4 kB / 0.6833 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.198, allocations: 12 kB / 0.6833 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.198, allocations: 4 kB / 0.6833 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.198, allocations: 7.938 kB / 0.6833 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.199, allocations: 0.6818 MB / 0.684 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.1993, allocations: 260.4 kB / 0.6843 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.1995, allocations: 11.98 kB / 0.6843 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.1998, allocations: 23.98 kB / 0.6843 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.1999, allocations: 31.86 kB / 0.6843 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.1999, allocations: 8 kB / 0.6843 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004972/0.2049, allocations: 5.161 MB / 0.6894 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2049, allocations: 0 / 0.6894 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006754/0.2056, allocations: 183.9 kB / 0.6895 GB, free: 11.14 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.001607/0.2072, allocations: 1.296 MB / 0.6908 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.2084, allocations: 0.7808 MB / 0.6916 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.2084, allocations: 4 kB / 0.6916 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003784/0.2088, allocations: 232.8 kB / 0.6918 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009032/0.2097, allocations: 190 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.02596/0.2357, allocations: 22.95 MB / 0.7144 GB, free: 1.367 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006947/0.2364, allocations: 0.9992 MB / 0.7154 GB, free: 344 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004325/0.2368, allocations: 149.4 kB / 0.7155 GB, free: 192 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004676/0.2373, allocations: 295.3 kB / 0.7158 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/0.2373, allocations: 4 kB / 0.7158 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05678/0.2941, allocations: 23.54 MB / 0.7388 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.543/9.837, allocations: 18.88 kB / 0.7388 GB, free: 8.574 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1)