Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009281/0.0009281, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005807/0.005807, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.38/1.38, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8101/0.8101, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003599, allocations: 8.188 kB / 0.504 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.4798, allocations: 81.58 MB / 0.5837 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002724/0.4826, allocations: 1.725 MB / 0.5854 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00311/0.4857, allocations: 1.706 MB / 0.587 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.4859, allocations: 6.438 kB / 0.587 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.957e-05/0.486, allocations: 12.23 kB / 0.587 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.4863, allocations: 48.02 kB / 0.5871 GB, free: 1.527 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.4878, allocations: 287.8 kB / 0.5874 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.4882, allocations: 208.3 kB / 0.5876 GB, free: 1.277 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.4884, allocations: 48.83 kB / 0.5876 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.4886, allocations: 71.86 kB / 0.5877 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.4888, allocations: 81.94 kB / 0.5878 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.4889, allocations: 10.12 kB / 0.5878 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.49, allocations: 390.9 kB / 0.5881 GB, free: 1.074 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.4901, allocations: 30 kB / 0.5882 GB, free: 1.059 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.4903, allocations: 105 kB / 0.5883 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.4914, allocations: 422.2 kB / 0.5887 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4914, allocations: 0 / 0.5887 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4914, allocations: 1.297 kB / 0.5887 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.4914, allocations: 0 / 0.5887 GB, free: 0.8633 MB / 430.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.001222/0.4926, allocations: 0.4951 MB / 0.5892 GB, free: 420 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.4927, allocations: 10.09 kB / 0.5892 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007159/0.4934, allocations: 99.83 kB / 0.5893 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.4936, allocations: 181.8 kB / 0.5894 GB, free: 192 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.4937, allocations: 49.44 kB / 0.5895 GB, free: 152 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.4937, allocations: 14.16 kB / 0.5895 GB, free: 148 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/0.4943, allocations: 188 kB / 0.5897 GB, free: 60 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.4943, allocations: 0 / 0.5897 GB, free: 60 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.4943, allocations: 10.38 kB / 0.5897 GB, free: 52 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.4943, allocations: 3.125 kB / 0.5897 GB, free: 52 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/0.4949, allocations: 191.7 kB / 0.5899 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.4967, allocations: 0.8993 MB / 0.5907 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.4973, allocations: 182.3 kB / 0.5909 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.4976, allocations: 89.77 kB / 0.591 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007426/0.4983, allocations: 0.5204 MB / 0.5915 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.4984, allocations: 36.72 kB / 0.5915 GB, free: 14.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 5.24e-06/0.4984, allocations: 3.984 kB / 0.5916 GB, free: 14.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.000848/0.4993, allocations: 250.5 kB / 0.5918 GB, free: 14.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.4993, allocations: 57.97 kB / 0.5918 GB, free: 14.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.4995, allocations: 159.8 kB / 0.592 GB, free: 14.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.4996, allocations: 26.77 kB / 0.592 GB, free: 14.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4997, allocations: 126.5 kB / 0.5921 GB, free: 14.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.567e-05/0.4997, allocations: 50.08 kB / 0.5922 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.4998, allocations: 20.97 kB / 0.5922 GB, free: 13.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4999, allocations: 325.8 kB / 0.5925 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.5002, allocations: 82.91 kB / 0.5926 GB, free: 13.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.5004, allocations: 101.5 kB / 0.5927 GB, free: 13.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.5009, allocations: 153.1 kB / 0.5928 GB, free: 13.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5009, allocations: 0.6875 kB / 0.5928 GB, free: 13.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006049/0.5015, allocations: 224.3 kB / 0.5931 GB, free: 13.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.5015, allocations: 5.828 kB / 0.5931 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5016, allocations: 4.812 kB / 0.5931 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.5016, allocations: 0.7188 kB / 0.5931 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.5019, allocations: 41.67 kB / 0.5931 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.5019, allocations: 2.344 kB / 0.5931 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.5021, allocations: 25.81 kB / 0.5931 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.5021, allocations: 5.359 kB / 0.5931 GB, free: 13.38 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: 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.0001299/0.5023, allocations: 134.4 kB / 0.5933 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.5023, allocations: 12.08 kB / 0.5933 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005908/0.5029, allocations: 220.3 kB / 0.5935 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.5029, allocations: 1.125 kB / 0.5935 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.503, allocations: 0 / 0.5935 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.503, allocations: 1.812 kB / 0.5935 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.5046, allocations: 0.9862 MB / 0.5945 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5046, allocations: 2.094 kB / 0.5945 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.5048, allocations: 32.7 kB / 0.5945 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.5048, allocations: 2.25 kB / 0.5945 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.5048, allocations: 7.828 kB / 0.5945 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.5048, allocations: 1.125 kB / 0.5945 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5049, allocations: 5.344 kB / 0.5945 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.5055, allocations: 293.6 kB / 0.5948 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.5055, allocations: 92.56 kB / 0.5949 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.5056, allocations: 2.172 kB / 0.5949 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.5058, allocations: 20.23 kB / 0.5949 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.5059, allocations: 16.55 kB / 0.5949 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.5059, allocations: 8.125 kB / 0.5949 GB, free: 11.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.506, allocations: 121.3 kB / 0.595 GB, free: 11.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.506, allocations: 0 / 0.595 GB, free: 11.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006594/0.5067, allocations: 134.9 kB / 0.5952 GB, free: 11.77 MB / 446.1 MB 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.0006398/0.5073, allocations: 226.6 kB / 0.5954 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005574/0.5079, allocations: 179.5 kB / 0.5956 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5079, allocations: 5.438 kB / 0.5956 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.5082, allocations: 88.98 kB / 0.5956 GB, free: 11.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.5086, allocations: 46.5 kB / 0.5957 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.5094, allocations: 390.1 kB / 0.5961 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.5097, allocations: 0.7106 MB / 0.5968 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000186/0.5099, allocations: 29.03 kB / 0.5968 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.5099, allocations: 19.02 kB / 0.5968 GB, free: 10.56 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5099, allocations: 0 / 0.5968 GB, free: 10.56 MB / 446.1 MB Notification: Performance of Templates: time 0.009878/0.5198, allocations: 4.134 MB / 0.6008 GB, free: 9.008 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)