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.001652/0.001652, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001983/0.001983, allocations: 196.9 kB / 16.14 MB, free: 6.688 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.319/1.319, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7512/0.7512, allocations: 132.2 MB / 422.2 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001835, allocations: 63.72 kB / 0.5011 GB, free: 4.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4566, allocations: 80.21 MB / 0.5794 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002941/0.4596, allocations: 2.073 MB / 0.5815 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.4618, allocations: 1.741 MB / 0.5832 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.186e-05/0.4619, allocations: 1.938 kB / 0.5832 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.626e-05/0.462, allocations: 11.81 kB / 0.5832 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.66e-05/0.4621, allocations: 49.31 kB / 0.5832 GB, free: 1.836 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008925/0.463, allocations: 287.1 kB / 0.5835 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.4632, allocations: 211.7 kB / 0.5837 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.4634, allocations: 53.42 kB / 0.5837 GB, free: 1.551 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.625e-05/0.4635, allocations: 68.25 kB / 0.5838 GB, free: 1.527 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.4636, allocations: 87.52 kB / 0.5839 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.4637, allocations: 12.38 kB / 0.5839 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008168/0.4645, allocations: 388.6 kB / 0.5843 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.4646, allocations: 43.02 kB / 0.5843 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.413e-05/0.4647, allocations: 80.14 kB / 0.5844 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006283/0.4653, allocations: 423.3 kB / 0.5848 GB, free: 1.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4653, allocations: 0 / 0.5848 GB, free: 1.176 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.4653, allocations: 0 / 0.5848 GB, free: 1.176 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.4653, allocations: 0 / 0.5848 GB, free: 1.176 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.00081/0.4661, allocations: 0.5208 MB / 0.5853 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.4662, allocations: 8.812 kB / 0.5853 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006053/0.4668, allocations: 89.44 kB / 0.5854 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.721e-05/0.4669, allocations: 187 kB / 0.5856 GB, free: 496 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.749e-05/0.467, allocations: 44.86 kB / 0.5856 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.467, allocations: 18.19 kB / 0.5856 GB, free: 452 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.4675, allocations: 184.2 kB / 0.5858 GB, free: 364 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.4675, allocations: 0 / 0.5858 GB, free: 364 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.4675, allocations: 6.094 kB / 0.5858 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.4676, allocations: 3.75 kB / 0.5858 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/0.468, allocations: 186.9 kB / 0.586 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.4695, allocations: 0.9085 MB / 0.5869 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.4701, allocations: 171.4 kB / 0.587 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.4703, allocations: 77.77 kB / 0.5871 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006869/0.471, allocations: 0.5205 MB / 0.5876 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.471, allocations: 36.69 kB / 0.5877 GB, free: 14.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.471, allocations: 0 / 0.5877 GB, free: 14.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.000781/0.4718, allocations: 242.8 kB / 0.5879 GB, free: 14.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.4719, allocations: 53.12 kB / 0.5879 GB, free: 14.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.472, allocations: 157 kB / 0.5881 GB, free: 14.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.4721, allocations: 31.48 kB / 0.5881 GB, free: 14.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.4722, allocations: 126.5 kB / 0.5882 GB, free: 14.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.4722, allocations: 48.62 kB / 0.5883 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.891e-05/0.4723, allocations: 39.34 kB / 0.5883 GB, free: 14.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4724, allocations: 329.3 kB / 0.5886 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.4726, allocations: 79.56 kB / 0.5887 GB, free: 13.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.4729, allocations: 93.3 kB / 0.5888 GB, free: 13.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.4733, allocations: 148.4 kB / 0.589 GB, free: 13.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.4733, allocations: 1 kB / 0.589 GB, free: 13.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005291/0.4739, allocations: 209.5 kB / 0.5892 GB, free: 13.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4739, allocations: 9.312 kB / 0.5892 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4739, allocations: 0.75 kB / 0.5892 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.4739, allocations: 1.25 kB / 0.5892 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.4742, allocations: 43.58 kB / 0.5892 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.4742, allocations: 5.562 kB / 0.5892 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.4744, allocations: 24.66 kB / 0.5892 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.4744, allocations: 5.703 kB / 0.5892 GB, free: 13.67 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.0001192/0.4745, allocations: 133.1 kB / 0.5894 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.4746, allocations: 12.39 kB / 0.5894 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000558/0.4752, allocations: 199.8 kB / 0.5896 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.4752, allocations: 2.188 kB / 0.5896 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4752, allocations: 3.938 kB / 0.5896 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.4752, allocations: 1.406 kB / 0.5896 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.4767, allocations: 0.9792 MB / 0.5905 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.4768, allocations: 1.062 kB / 0.5905 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.477, allocations: 31.86 kB / 0.5906 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.477, allocations: 1.531 kB / 0.5906 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.477, allocations: 7.375 kB / 0.5906 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.477, allocations: 1.703 kB / 0.5906 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.477, allocations: 5.875 kB / 0.5906 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005249/0.4776, allocations: 281.7 kB / 0.5908 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.4776, allocations: 93.36 kB / 0.5909 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.4777, allocations: 10.84 kB / 0.5909 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.4779, allocations: 13.44 kB / 0.591 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.478, allocations: 16.62 kB / 0.591 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.478, allocations: 9.5 kB / 0.591 GB, free: 12.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.273e-05/0.4781, allocations: 120.3 kB / 0.5911 GB, free: 12.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4781, allocations: 0 / 0.5911 GB, free: 12.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005492/0.4787, allocations: 127 kB / 0.5912 GB, free: 12.08 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.0004938/0.4792, allocations: 223.2 kB / 0.5914 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005149/0.4797, allocations: 182.7 kB / 0.5916 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4797, allocations: 0 / 0.5916 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.4799, allocations: 90.33 kB / 0.5917 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.4804, allocations: 42.83 kB / 0.5917 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006933/0.4811, allocations: 359.2 kB / 0.5921 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.4814, allocations: 0.7155 MB / 0.5928 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.4816, allocations: 32.7 kB / 0.5928 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.4817, allocations: 23.69 kB / 0.5928 GB, free: 10.86 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4817, allocations: 3.938 kB / 0.5928 GB, free: 10.85 MB / 446.1 MB Notification: Performance of Templates: time 0.008725/0.4904, allocations: 4.132 MB / 0.5969 GB, free: 9.48 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)