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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 174.6 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8298/0.8298, allocations: 130.7 MB / 138.7 MB, free: 3.594 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009354/0.0009354, allocations: 94.2 kB / 473.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.491e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5432/0.5432, allocations: 81.57 MB / 0.6282 GB, free: 42.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1729/0.7162, allocations: 116.9 MB / 0.7424 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/0.7167, allocations: 87.94 kB / 0.7424 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02668/0.7434, allocations: 8.157 MB / 0.7504 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7434, allocations: 0 / 0.7504 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.7434, allocations: 0 / 0.7504 GB, free: 1.602 MB / 0.5261 GB 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.00115/0.7446, allocations: 494 kB / 0.7509 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.702e-05/0.7447, allocations: 16.02 kB / 0.7509 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000585/0.7453, allocations: 91.69 kB / 0.751 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.7455, allocations: 178.9 kB / 0.7511 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.7457, allocations: 45.69 kB / 0.7512 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.7457, allocations: 8 kB / 0.7512 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003182/0.746, allocations: 151.9 kB / 0.7513 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.7463, allocations: 145.5 kB / 0.7515 GB, free: 404 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.7463, allocations: 0 / 0.7515 GB, free: 404 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.7464, allocations: 0 / 0.7515 GB, free: 404 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.7464, allocations: 7.953 kB / 0.7515 GB, free: 396 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.7479, allocations: 0.8845 MB / 0.7524 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.7482, allocations: 126.6 kB / 0.7525 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.7484, allocations: 60.86 kB / 0.7525 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000758/0.7491, allocations: 0.5181 MB / 0.753 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.7492, allocations: 34.56 kB / 0.7531 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.7492, allocations: 0 / 0.7531 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.001344/0.7506, allocations: 269.5 kB / 0.7533 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.7506, allocations: 51.41 kB / 0.7534 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.7507, allocations: 114.2 kB / 0.7535 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.7508, allocations: 29.7 kB / 0.7535 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.7509, allocations: 120.1 kB / 0.7536 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.7509, allocations: 47.36 kB / 0.7537 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.7509, allocations: 7.875 kB / 0.7537 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.7511, allocations: 318.8 kB / 0.754 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.655e-05/0.7512, allocations: 60 kB / 0.754 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.7513, allocations: 73.7 kB / 0.7541 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.7525, allocations: 169.9 kB / 0.7543 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.7525, allocations: 3.953 kB / 0.7543 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00124/0.7537, allocations: 285.4 kB / 0.7545 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.7538, allocations: 12.61 kB / 0.7546 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7538, allocations: 0 / 0.7546 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.7538, allocations: 4 kB / 0.7546 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.7541, allocations: 39.91 kB / 0.7546 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.7541, allocations: 0 / 0.7546 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.7543, allocations: 23.83 kB / 0.7546 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.7543, allocations: 8 kB / 0.7546 GB, free: 12.87 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.7544, allocations: 108.9 kB / 0.7547 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.7545, allocations: 11.91 kB / 0.7547 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.7557, allocations: 274.7 kB / 0.755 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.7557, allocations: 0 / 0.755 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7557, allocations: 0 / 0.755 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7558, allocations: 8 kB / 0.755 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.758, allocations: 1.011 MB / 0.756 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.758, allocations: 8.016 kB / 0.756 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.7583, allocations: 39.91 kB / 0.7561 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.7583, allocations: 4 kB / 0.7561 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.7583, allocations: 0 / 0.7561 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.7583, allocations: 4 kB / 0.7561 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7583, allocations: 0 / 0.7561 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.7596, allocations: 390.8 kB / 0.7564 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.872e-05/0.7597, allocations: 92.91 kB / 0.7565 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.7597, allocations: 7.984 kB / 0.7565 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.7599, allocations: 15.98 kB / 0.7565 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.76, allocations: 19.92 kB / 0.7566 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.76, allocations: 4 kB / 0.7566 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.396e-05/0.7601, allocations: 91.27 kB / 0.7567 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7601, allocations: 0 / 0.7567 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005569/0.7606, allocations: 135.7 kB / 0.7568 GB, free: 10.46 MB / 0.5417 GB 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004804/0.7611, allocations: 236.6 kB / 0.757 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.7614, allocations: 143.9 kB / 0.7571 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7614, allocations: 0 / 0.7571 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.739e-05/0.7615, allocations: 68 kB / 0.7572 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.7618, allocations: 22.22 kB / 0.7572 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.7623, allocations: 184.1 kB / 0.7574 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.7626, allocations: 0.7124 MB / 0.7581 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.7627, allocations: 25.47 kB / 0.7581 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.7628, allocations: 23.42 kB / 0.7581 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.7628, allocations: 0 / 0.7581 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of Templates: time 0.007335/0.7702, allocations: 3.291 MB / 0.7614 GB, free: 5.734 MB / 0.5417 GB 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)