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.001066/0.001066, allocations: 117.5 kB / 16.37 MB, free: 6.016 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.001107/0.001107, allocations: 189.7 kB / 17.3 MB, free: 5.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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7877/0.7877, allocations: 132.2 MB / 423.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001388, allocations: 59.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3811, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003206/0.3843, allocations: 2.014 MB / 0.5835 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.3863, allocations: 1.663 MB / 0.5851 GB, free: 24.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.3864, allocations: 0 / 0.5851 GB, free: 24.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.258e-05/0.3865, allocations: 19.92 kB / 0.5851 GB, free: 24.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.195e-05/0.3866, allocations: 50.64 kB / 0.5852 GB, free: 24.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000911/0.3875, allocations: 364 kB / 0.5855 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.3878, allocations: 216.9 kB / 0.5857 GB, free: 24.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.3879, allocations: 60.34 kB / 0.5858 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.819e-05/0.388, allocations: 80.38 kB / 0.5859 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.3882, allocations: 88.02 kB / 0.5859 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.3882, allocations: 18.56 kB / 0.586 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006902/0.3889, allocations: 413.5 kB / 0.5863 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.3889, allocations: 37.25 kB / 0.5864 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.569e-05/0.389, allocations: 89.27 kB / 0.5865 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.3895, allocations: 436.2 kB / 0.5869 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3895, allocations: 1.625 kB / 0.5869 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3895, allocations: 0 / 0.5869 GB, free: 23.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3896, allocations: 0 / 0.5869 GB, free: 23.59 MB / 446.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.000706/0.3903, allocations: 0.5118 MB / 0.5874 GB, free: 23.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3903, allocations: 12.03 kB / 0.5874 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005448/0.3909, allocations: 89.45 kB / 0.5875 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.08e-05/0.391, allocations: 184.8 kB / 0.5877 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.372e-05/0.391, allocations: 50.78 kB / 0.5877 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.3911, allocations: 13.31 kB / 0.5877 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.3914, allocations: 188.9 kB / 0.5879 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3915, allocations: 0 / 0.5879 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.3915, allocations: 6.438 kB / 0.5879 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.3915, allocations: 3.375 kB / 0.5879 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.3919, allocations: 184.8 kB / 0.5881 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.393, allocations: 0.9113 MB / 0.589 GB, free: 21.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/0.3935, allocations: 169.5 kB / 0.5891 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.3936, allocations: 77.39 kB / 0.5892 GB, free: 21.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004999/0.3941, allocations: 0.5194 MB / 0.5897 GB, free: 20.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.3942, allocations: 36.75 kB / 0.5898 GB, free: 20.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.3942, allocations: 0 / 0.5898 GB, free: 20.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006505/0.3948, allocations: 237.7 kB / 0.59 GB, free: 20.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.3949, allocations: 55.25 kB / 0.59 GB, free: 20.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.395, allocations: 162.6 kB / 0.5902 GB, free: 20.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.395, allocations: 28.55 kB / 0.5902 GB, free: 20.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.3951, allocations: 117.2 kB / 0.5903 GB, free: 20.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.3951, allocations: 50.14 kB / 0.5904 GB, free: 20.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/0.3952, allocations: 37.98 kB / 0.5904 GB, free: 20.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.3952, allocations: 332.6 kB / 0.5907 GB, free: 20.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.3954, allocations: 71.89 kB / 0.5908 GB, free: 20.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.3956, allocations: 97.56 kB / 0.5909 GB, free: 19.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.396, allocations: 153.7 kB / 0.591 GB, free: 19.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.396, allocations: 0 / 0.591 GB, free: 19.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004405/0.3964, allocations: 206.3 kB / 0.5912 GB, free: 19.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3964, allocations: 8.781 kB / 0.5912 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3965, allocations: 0 / 0.5912 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3965, allocations: 5.156 kB / 0.5912 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.3967, allocations: 44.12 kB / 0.5913 GB, free: 19.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3967, allocations: 5.172 kB / 0.5913 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.3969, allocations: 24.45 kB / 0.5913 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.3969, allocations: 9.375 kB / 0.5913 GB, free: 19.71 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 8.294e-05/0.397, allocations: 133.6 kB / 0.5915 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.3971, allocations: 11.09 kB / 0.5915 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/0.3975, allocations: 198.4 kB / 0.5917 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3976, allocations: 3.984 kB / 0.5917 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3976, allocations: 1.781 kB / 0.5917 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3976, allocations: 0 / 0.5917 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.3987, allocations: 0.9767 MB / 0.5926 GB, free: 18.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3987, allocations: 4.781 kB / 0.5926 GB, free: 18.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.3989, allocations: 32.59 kB / 0.5926 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3989, allocations: 3.938 kB / 0.5927 GB, free: 18.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.399, allocations: 8.938 kB / 0.5927 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.399, allocations: 0 / 0.5927 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.399, allocations: 5.656 kB / 0.5927 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.3994, allocations: 296 kB / 0.5929 GB, free: 17.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.3994, allocations: 93 kB / 0.593 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.3994, allocations: 0 / 0.593 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.3997, allocations: 17.55 kB / 0.5931 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.3997, allocations: 15.92 kB / 0.5931 GB, free: 17.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.3997, allocations: 4 kB / 0.5931 GB, free: 17.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.632e-05/0.3998, allocations: 119.4 kB / 0.5932 GB, free: 17.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3998, allocations: 0 / 0.5932 GB, free: 17.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004626/0.4003, allocations: 127.9 kB / 0.5933 GB, free: 17.52 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.0003638/0.4006, allocations: 231 kB / 0.5935 GB, free: 17.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004064/0.401, allocations: 182.1 kB / 0.5937 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4011, allocations: 0 / 0.5937 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.4012, allocations: 85.97 kB / 0.5938 GB, free: 17.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.4016, allocations: 46.22 kB / 0.5938 GB, free: 16.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.4022, allocations: 311.3 kB / 0.5941 GB, free: 16.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.4023, allocations: 0.714 MB / 0.5948 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.4024, allocations: 30.27 kB / 0.5949 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.628e-05/0.4025, allocations: 20.12 kB / 0.5949 GB, free: 15.88 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.4025, allocations: 0 / 0.5949 GB, free: 15.88 MB / 446.1 MB Notification: Performance of Templates: time 0.006373/0.4089, allocations: 4.251 MB / 0.599 GB, free: 11.71 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)