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.001343/0.001343, allocations: 110.6 kB / 15.99 MB, free: 6.367 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.001439/0.00144, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.436/1.436, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.793/0.793, allocations: 132.2 MB / 422.9 MB, free: 6.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 64.12 kB / 0.5019 GB, free: 11.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4016, allocations: 80.18 MB / 0.5802 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00296/0.4046, allocations: 2.083 MB / 0.5822 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.4067, allocations: 1.645 MB / 0.5839 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.4068, allocations: 3.531 kB / 0.5839 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.452e-05/0.4069, allocations: 10.08 kB / 0.5839 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.4071, allocations: 46.86 kB / 0.5839 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009582/0.408, allocations: 312.2 kB / 0.5842 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.4083, allocations: 224 kB / 0.5844 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.4084, allocations: 46.78 kB / 0.5845 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.4085, allocations: 89.39 kB / 0.5846 GB, free: 24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.4087, allocations: 89.3 kB / 0.5846 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.4087, allocations: 18.06 kB / 0.5847 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000717/0.4094, allocations: 412.7 kB / 0.5851 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.4095, allocations: 41.02 kB / 0.5851 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.387e-05/0.4096, allocations: 87.38 kB / 0.5852 GB, free: 23.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.41, allocations: 318.3 kB / 0.5855 GB, free: 23.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.41, allocations: 0.7188 kB / 0.5855 GB, free: 23.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.41, allocations: 0 / 0.5855 GB, free: 23.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.4101, allocations: 1.688 kB / 0.5855 GB, free: 23.46 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.0007674/0.4108, allocations: 0.5173 MB / 0.586 GB, free: 22.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4109, allocations: 10.09 kB / 0.586 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005634/0.4115, allocations: 90.61 kB / 0.5861 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.743e-05/0.4116, allocations: 188.4 kB / 0.5863 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.666e-05/0.4116, allocations: 51.14 kB / 0.5863 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.4117, allocations: 13.75 kB / 0.5863 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.4121, allocations: 182.7 kB / 0.5865 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4121, allocations: 1.188 kB / 0.5865 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.4121, allocations: 6.688 kB / 0.5865 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.4121, allocations: 4.156 kB / 0.5865 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.4126, allocations: 187.8 kB / 0.5867 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.4138, allocations: 0.9137 MB / 0.5876 GB, free: 21.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.4142, allocations: 165.1 kB / 0.5877 GB, free: 21.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.4144, allocations: 88.75 kB / 0.5878 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005714/0.415, allocations: 0.5163 MB / 0.5883 GB, free: 20.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.4151, allocations: 38.81 kB / 0.5884 GB, free: 20.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.064e-06/0.4151, allocations: 0 / 0.5884 GB, free: 20.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006856/0.4158, allocations: 227.1 kB / 0.5886 GB, free: 20.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.4158, allocations: 55.56 kB / 0.5886 GB, free: 20.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.416, allocations: 162.9 kB / 0.5888 GB, free: 20.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.416, allocations: 30.98 kB / 0.5888 GB, free: 20.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.4161, allocations: 119.4 kB / 0.5889 GB, free: 20.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.4161, allocations: 53.62 kB / 0.589 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.4162, allocations: 34.58 kB / 0.589 GB, free: 20.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.929e-05/0.4163, allocations: 330.6 kB / 0.5893 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.4165, allocations: 76.98 kB / 0.5894 GB, free: 19.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.4167, allocations: 98.48 kB / 0.5895 GB, free: 19.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.4171, allocations: 149.5 kB / 0.5896 GB, free: 19.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4171, allocations: 0 / 0.5896 GB, free: 19.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004781/0.4176, allocations: 216.5 kB / 0.5898 GB, free: 19.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4176, allocations: 4.75 kB / 0.5899 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4176, allocations: 1.125 kB / 0.5899 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4176, allocations: 1.156 kB / 0.5899 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.4179, allocations: 39.59 kB / 0.5899 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.4179, allocations: 5.281 kB / 0.5899 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.4181, allocations: 25.8 kB / 0.5899 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.4181, allocations: 7.781 kB / 0.5899 GB, free: 19.58 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.0001083/0.4183, allocations: 129.2 kB / 0.5901 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.4183, allocations: 11.75 kB / 0.5901 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005205/0.4188, allocations: 201.1 kB / 0.5903 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.4189, allocations: 1.531 kB / 0.5903 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.4189, allocations: 3.938 kB / 0.5903 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4189, allocations: 4.516 kB / 0.5903 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.4202, allocations: 0.9827 MB / 0.5912 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4202, allocations: 1.312 kB / 0.5912 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.4204, allocations: 26.89 kB / 0.5913 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/0.4204, allocations: 9.328 kB / 0.5913 GB, free: 18.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.4205, allocations: 6.656 kB / 0.5913 GB, free: 18.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.4205, allocations: 5.188 kB / 0.5913 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.4205, allocations: 6.719 kB / 0.5913 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005519/0.4211, allocations: 283.1 kB / 0.5915 GB, free: 18.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.4211, allocations: 89.67 kB / 0.5916 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.4212, allocations: 7.281 kB / 0.5916 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.4214, allocations: 16.75 kB / 0.5917 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.4215, allocations: 18.27 kB / 0.5917 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.4215, allocations: 4.25 kB / 0.5917 GB, free: 17.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.4216, allocations: 120 kB / 0.5918 GB, free: 17.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4216, allocations: 0.9375 kB / 0.5918 GB, free: 17.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007209/0.4224, allocations: 125.7 kB / 0.5919 GB, free: 17.83 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.0005486/0.4229, allocations: 233.2 kB / 0.5921 GB, free: 17.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004826/0.4234, allocations: 175.5 kB / 0.5923 GB, free: 17.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4234, allocations: 0 / 0.5923 GB, free: 17.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.4236, allocations: 97.36 kB / 0.5924 GB, free: 17.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.4241, allocations: 36.5 kB / 0.5924 GB, free: 17.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006847/0.4248, allocations: 396.4 kB / 0.5928 GB, free: 16.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.425, allocations: 0.7111 MB / 0.5935 GB, free: 16.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.702e-05/0.4251, allocations: 27.42 kB / 0.5935 GB, free: 16.12 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4251, allocations: 0 / 0.5935 GB, free: 16.12 MB / 446.1 MB Notification: Performance of Templates: time 0.005483/0.4306, allocations: 3.849 MB / 0.5973 GB, free: 12.33 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)