Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.001018/0.001018, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00122/0.00122, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9135/0.9135, allocations: 135.3 MB / 426.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.0003071, allocations: 16.62 kB / 0.5071 GB, free: 5.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1513, allocations: 82.31 MB / 0.5875 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002067/0.1535, allocations: 1.668 MB / 0.5891 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.1556, allocations: 1.544 MB / 0.5906 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.1557, allocations: 4 kB / 0.5906 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.1557, allocations: 7.922 kB / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.1558, allocations: 47.61 kB / 0.5907 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007411/0.1566, allocations: 267.2 kB / 0.5909 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.1568, allocations: 203.2 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1569, allocations: 41.64 kB / 0.5912 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.627e-05/0.157, allocations: 71.72 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.1571, allocations: 79.67 kB / 0.5913 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.1572, allocations: 12 kB / 0.5913 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006946/0.1579, allocations: 379.5 kB / 0.5917 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.1579, allocations: 31.89 kB / 0.5917 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.158, allocations: 57.64 kB / 0.5918 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.1584, allocations: 311.5 kB / 0.5921 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1584, allocations: 4 kB / 0.5921 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1584, allocations: 0 / 0.5921 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.1584, allocations: 0 / 0.5921 GB, free: 14.14 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.0007034/0.1591, allocations: 0.495 MB / 0.5925 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1591, allocations: 8.031 kB / 0.5925 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.518e-05/0.1592, allocations: 50.55 kB / 0.5926 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005073/0.1597, allocations: 103.7 kB / 0.5927 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1598, allocations: 178.8 kB / 0.5929 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/0.1599, allocations: 53.69 kB / 0.5929 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.16, allocations: 12 kB / 0.5929 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.1604, allocations: 181.4 kB / 0.5931 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1604, allocations: 0 / 0.5931 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.1604, allocations: 8 kB / 0.5931 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1604, allocations: 7.984 kB / 0.5931 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004328/0.1609, allocations: 191.9 kB / 0.5933 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.1622, allocations: 0.9189 MB / 0.5942 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.1626, allocations: 178.6 kB / 0.5944 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.1628, allocations: 76.83 kB / 0.5944 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006033/0.1634, allocations: 0.5259 MB / 0.595 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1635, allocations: 38.5 kB / 0.595 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.1635, allocations: 0 / 0.595 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006612/0.1642, allocations: 249.7 kB / 0.5952 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.1642, allocations: 59.34 kB / 0.5953 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1643, allocations: 161.6 kB / 0.5954 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.1644, allocations: 33.7 kB / 0.5955 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.1644, allocations: 111.8 kB / 0.5956 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.1645, allocations: 51.3 kB / 0.5956 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.1645, allocations: 0 / 0.5956 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1646, allocations: 326.8 kB / 0.5959 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.1649, allocations: 75.95 kB / 0.596 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.1651, allocations: 111.6 kB / 0.5961 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.1653, allocations: 75.94 kB / 0.5962 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1653, allocations: 0 / 0.5962 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005147/0.1659, allocations: 215.6 kB / 0.5964 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1659, allocations: 4 kB / 0.5964 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1659, allocations: 4 kB / 0.5964 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1659, allocations: 3.984 kB / 0.5964 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.1662, allocations: 39.92 kB / 0.5964 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1662, allocations: 4 kB / 0.5964 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.1664, allocations: 27.72 kB / 0.5965 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.1664, allocations: 12 kB / 0.5965 GB, free: 9.172 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.1665, allocations: 125.8 kB / 0.5966 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.1665, allocations: 15.86 kB / 0.5966 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.167, allocations: 206.3 kB / 0.5968 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1671, allocations: 0 / 0.5968 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1671, allocations: 0 / 0.5968 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1671, allocations: 0 / 0.5968 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.1684, allocations: 0.9933 MB / 0.5978 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1684, allocations: 0 / 0.5978 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.1686, allocations: 35.91 kB / 0.5978 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1686, allocations: 4.062 kB / 0.5978 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.1686, allocations: 8 kB / 0.5978 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1686, allocations: 0 / 0.5978 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1686, allocations: 3.984 kB / 0.5978 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/0.1691, allocations: 300.9 kB / 0.5981 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.1692, allocations: 96.95 kB / 0.5982 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.1692, allocations: 7.984 kB / 0.5982 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.1694, allocations: 11.98 kB / 0.5982 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1695, allocations: 19.97 kB / 0.5983 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1695, allocations: 8 kB / 0.5983 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.228e-05/0.1696, allocations: 118.9 kB / 0.5984 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1696, allocations: 0 / 0.5984 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004326/0.17, allocations: 127.9 kB / 0.5985 GB, free: 6.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/0.171, allocations: 0.948 MB / 0.5994 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004351/0.1715, allocations: 191.8 kB / 0.5996 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1715, allocations: 0 / 0.5996 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.1717, allocations: 83.91 kB / 0.5997 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.1721, allocations: 48.09 kB / 0.5997 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1738, allocations: 1.025 MB / 0.6007 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.174, allocations: 0.7166 MB / 0.6014 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001588/0.1742, allocations: 33.14 kB / 0.6015 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.293e-05/0.1743, allocations: 39.42 kB / 0.6015 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1743, allocations: 4 kB / 0.6015 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2661/0.4405, allocations: 5.592 MB / 0.607 GB, free: 48.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001245/0.4406, allocations: 208.5 kB / 0.6072 GB, free: 48.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/2.757, allocations: 0 / 0.6072 GB, free: 48.43 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) Environment - environmentSimulation: