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.001607/0.001607, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001931/0.001931, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.07/2.07, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.584/1.584, allocations: 135.1 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 60.62 kB / 0.505 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1623, allocations: 80.93 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003703/0.1661, allocations: 2.067 MB / 0.586 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.1687, allocations: 1.64 MB / 0.5876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.794e-05/0.1689, allocations: 0 / 0.5876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.246e-05/0.169, allocations: 19.84 kB / 0.5876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.1691, allocations: 35.69 kB / 0.5877 GB, free: 1 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.1704, allocations: 323.2 kB / 0.588 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.1707, allocations: 219.1 kB / 0.5882 GB, free: 480 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.1708, allocations: 69.38 kB / 0.5882 GB, free: 404 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.171, allocations: 79.77 kB / 0.5883 GB, free: 324 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.1712, allocations: 87.67 kB / 0.5884 GB, free: 236 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.1712, allocations: 20 kB / 0.5884 GB, free: 216 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008578/0.1721, allocations: 407.5 kB / 0.5888 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.1722, allocations: 43.88 kB / 0.5889 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.653e-05/0.1723, allocations: 91.66 kB / 0.5889 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006905/0.173, allocations: 431.2 kB / 0.5894 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.173, allocations: 4 kB / 0.5894 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.173, allocations: 0 / 0.5894 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.173, allocations: 0 / 0.5894 GB, free: 15.25 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.0009281/0.1739, allocations: 0.5147 MB / 0.5899 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.174, allocations: 8.031 kB / 0.5899 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.63e-05/0.1741, allocations: 54.73 kB / 0.5899 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006409/0.1747, allocations: 88.64 kB / 0.59 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.1749, allocations: 180.1 kB / 0.5902 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.175e-05/0.1749, allocations: 50.25 kB / 0.5902 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.175, allocations: 24.12 kB / 0.5902 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.1755, allocations: 181.4 kB / 0.5904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1755, allocations: 0 / 0.5904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.1755, allocations: 4 kB / 0.5904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1755, allocations: 4 kB / 0.5904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.176, allocations: 183.8 kB / 0.5906 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.1776, allocations: 0.9189 MB / 0.5915 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.1782, allocations: 178.6 kB / 0.5917 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.1784, allocations: 80.75 kB / 0.5917 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007085/0.1791, allocations: 0.5181 MB / 0.5923 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1791, allocations: 38.55 kB / 0.5923 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.1792, allocations: 0 / 0.5923 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007491/0.1799, allocations: 224.3 kB / 0.5925 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.18, allocations: 59.41 kB / 0.5926 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.1801, allocations: 159.1 kB / 0.5927 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1801, allocations: 25.7 kB / 0.5927 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.1802, allocations: 123.7 kB / 0.5929 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.1803, allocations: 51.38 kB / 0.5929 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.772e-05/0.1804, allocations: 37.61 kB / 0.5929 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1805, allocations: 330.8 kB / 0.5933 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.1807, allocations: 83.83 kB / 0.5933 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.181, allocations: 93.62 kB / 0.5934 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.1814, allocations: 143.7 kB / 0.5936 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1814, allocations: 4 kB / 0.5936 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00054/0.182, allocations: 211.8 kB / 0.5938 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.182, allocations: 7.984 kB / 0.5938 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.182, allocations: 4 kB / 0.5938 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.182, allocations: 0 / 0.5938 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.1823, allocations: 39.97 kB / 0.5938 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.1823, allocations: 3.938 kB / 0.5938 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.1825, allocations: 27.84 kB / 0.5938 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.1826, allocations: 12 kB / 0.5939 GB, free: 10.21 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 (com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.1827, allocations: 121.8 kB / 0.594 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.1828, allocations: 15.81 kB / 0.594 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005722/0.1833, allocations: 202.6 kB / 0.5942 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1833, allocations: 0 / 0.5942 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1834, allocations: 0 / 0.5942 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1834, allocations: 4 kB / 0.5942 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.185, allocations: 0.9817 MB / 0.5951 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.185, allocations: 0 / 0.5951 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.1852, allocations: 23.98 kB / 0.5952 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1853, allocations: 4 kB / 0.5952 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.1853, allocations: 4 kB / 0.5952 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.1853, allocations: 11.86 kB / 0.5952 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1853, allocations: 4 kB / 0.5952 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007236/0.186, allocations: 281.2 kB / 0.5955 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.1861, allocations: 96.86 kB / 0.5956 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.1862, allocations: 0 / 0.5956 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.1865, allocations: 27.92 kB / 0.5956 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.1866, allocations: 11.98 kB / 0.5956 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.1867, allocations: 7.984 kB / 0.5956 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001303/0.1868, allocations: 122.4 kB / 0.5957 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1868, allocations: 0 / 0.5957 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007297/0.1875, allocations: 131.9 kB / 0.5958 GB, free: 7.969 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 (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.001689/0.1892, allocations: 0.9397 MB / 0.5968 GB, free: 7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005949/0.1898, allocations: 183.7 kB / 0.5969 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1899, allocations: 0 / 0.5969 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.1901, allocations: 87.95 kB / 0.597 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.1906, allocations: 35.92 kB / 0.5971 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.1937, allocations: 2.094 MB / 0.5991 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.194, allocations: 0.7086 MB / 0.5998 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001865/0.1942, allocations: 29.27 kB / 0.5998 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.1943, allocations: 39.42 kB / 0.5999 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.1943, allocations: 0 / 0.5999 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6373/0.8316, allocations: 5.884 MB / 0.6056 GB, free: 52.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/0.8319, allocations: 217 kB / 0.6058 GB, free: 52.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.352/4.184, allocations: 0 / 0.6058 GB, free: 52.23 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/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)