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.001532/0.001532, allocations: 115.4 kB / 16.37 MB, free: 5.539 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.001872/0.001872, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.764/0.764, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3317, allocations: 80.19 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002859/0.3346, allocations: 2.02 MB / 0.5835 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.3365, allocations: 1.653 MB / 0.5851 GB, free: 24.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.376e-05/0.3366, allocations: 2.25 kB / 0.5851 GB, free: 24.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.546e-05/0.3367, allocations: 18.92 kB / 0.5851 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.421e-05/0.3367, allocations: 48.55 kB / 0.5852 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007664/0.3375, allocations: 366.2 kB / 0.5855 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.3377, allocations: 221.6 kB / 0.5857 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3378, allocations: 61.64 kB / 0.5858 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.933e-05/0.3379, allocations: 76.97 kB / 0.5859 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.3381, allocations: 92.84 kB / 0.5859 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.3381, allocations: 20.72 kB / 0.586 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006555/0.3388, allocations: 406.9 kB / 0.5863 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.3388, allocations: 39.22 kB / 0.5864 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.589e-05/0.3389, allocations: 88.95 kB / 0.5865 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005082/0.3394, allocations: 432.7 kB / 0.5869 GB, free: 23.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3394, allocations: 0 / 0.5869 GB, free: 23.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3394, allocations: 0 / 0.5869 GB, free: 23.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.3395, allocations: 0 / 0.5869 GB, free: 23.52 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.0006928/0.3402, allocations: 0.5136 MB / 0.5874 GB, free: 23.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3402, allocations: 11.56 kB / 0.5874 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005112/0.3407, allocations: 95.33 kB / 0.5875 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.77e-05/0.3408, allocations: 182.6 kB / 0.5877 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.115e-05/0.3409, allocations: 46.19 kB / 0.5877 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.3409, allocations: 21.91 kB / 0.5877 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.3413, allocations: 181 kB / 0.5879 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3413, allocations: 0 / 0.5879 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.3414, allocations: 10.5 kB / 0.5879 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.3414, allocations: 3 kB / 0.5879 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.3418, allocations: 185.4 kB / 0.5881 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.3429, allocations: 0.9168 MB / 0.589 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.3434, allocations: 162.6 kB / 0.5891 GB, free: 21.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.3436, allocations: 78.61 kB / 0.5892 GB, free: 21.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005127/0.3441, allocations: 0.5182 MB / 0.5897 GB, free: 20.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.3442, allocations: 32.88 kB / 0.5898 GB, free: 20.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.3442, allocations: 1.281 kB / 0.5898 GB, free: 20.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006197/0.3448, allocations: 241.3 kB / 0.59 GB, free: 20.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.3448, allocations: 52.84 kB / 0.59 GB, free: 20.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3449, allocations: 165.7 kB / 0.5902 GB, free: 20.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.345, allocations: 29.2 kB / 0.5902 GB, free: 20.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.345, allocations: 118.1 kB / 0.5903 GB, free: 20.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.3451, allocations: 45.23 kB / 0.5904 GB, free: 20.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/0.3451, allocations: 38.7 kB / 0.5904 GB, free: 20.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.3452, allocations: 327.8 kB / 0.5907 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.3454, allocations: 76.89 kB / 0.5908 GB, free: 19.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.3456, allocations: 96.7 kB / 0.5909 GB, free: 19.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.3459, allocations: 147.4 kB / 0.591 GB, free: 19.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3459, allocations: 3.125 kB / 0.591 GB, free: 19.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004321/0.3463, allocations: 213.8 kB / 0.5912 GB, free: 19.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3464, allocations: 6.969 kB / 0.5912 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3464, allocations: 5.125 kB / 0.5912 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3464, allocations: 1.188 kB / 0.5912 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.3466, allocations: 40.47 kB / 0.5913 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3467, allocations: 1.344 kB / 0.5913 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.3468, allocations: 26.23 kB / 0.5913 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.3468, allocations: 5.406 kB / 0.5913 GB, free: 19.65 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.144e-05/0.3469, allocations: 134.8 kB / 0.5914 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.347, allocations: 11.19 kB / 0.5915 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/0.3474, allocations: 193.4 kB / 0.5916 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3475, allocations: 5.141 kB / 0.5916 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3475, allocations: 1.438 kB / 0.5916 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3475, allocations: 6.328 kB / 0.5917 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.3486, allocations: 0.9891 MB / 0.5926 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3486, allocations: 0 / 0.5926 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.3488, allocations: 36.94 kB / 0.5927 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3488, allocations: 0 / 0.5927 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.3488, allocations: 4 kB / 0.5927 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3488, allocations: 0.7188 kB / 0.5927 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3488, allocations: 7.875 kB / 0.5927 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.3492, allocations: 293 kB / 0.5929 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/0.3492, allocations: 89 kB / 0.593 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.3493, allocations: 8 kB / 0.593 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.3495, allocations: 13.3 kB / 0.5931 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.3495, allocations: 16.67 kB / 0.5931 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.3495, allocations: 4 kB / 0.5931 GB, free: 17.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.363e-05/0.3496, allocations: 120.3 kB / 0.5932 GB, free: 17.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3496, allocations: 0 / 0.5932 GB, free: 17.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004231/0.35, allocations: 123.9 kB / 0.5933 GB, free: 17.51 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.0003489/0.3504, allocations: 232.5 kB / 0.5935 GB, free: 17.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003951/0.3508, allocations: 175.8 kB / 0.5937 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3508, allocations: 4.531 kB / 0.5937 GB, free: 17.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.351, allocations: 81.03 kB / 0.5938 GB, free: 17.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3513, allocations: 42.59 kB / 0.5938 GB, free: 16.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/0.3519, allocations: 320.6 kB / 0.5941 GB, free: 16.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.352, allocations: 0.7097 MB / 0.5948 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.3522, allocations: 30.34 kB / 0.5948 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.3522, allocations: 19.44 kB / 0.5949 GB, free: 15.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3522, allocations: 2.406 kB / 0.5949 GB, free: 15.87 MB / 446.1 MB Notification: Performance of Templates: time 0.006197/0.3584, allocations: 4.251 MB / 0.599 GB, free: 11.69 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)