Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.01087/0.01087, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9781/0.9781, allocations: 135.2 MB / 151.1 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.2 MB / 406.9 MB, free: 3.234 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.0008601/0.00086, allocations: 98.02 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004365, allocations: 12 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4086, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.5606, allocations: 117.9 MB / 0.7646 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.5609, allocations: 83.95 kB / 0.7647 GB, free: 14 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02287/0.5838, allocations: 8.207 MB / 0.7727 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5838, allocations: 0 / 0.7727 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.585e-06/0.5838, allocations: 4 kB / 0.7727 GB, free: 5.773 MB / 0.5417 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.0007979/0.5846, allocations: 0.4988 MB / 0.7732 GB, free: 5.223 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.5847, allocations: 8.031 kB / 0.7732 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004668/0.5851, allocations: 96.45 kB / 0.7733 GB, free: 5.121 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.5853, allocations: 178.8 kB / 0.7735 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.449e-05/0.5854, allocations: 49.69 kB / 0.7735 GB, free: 4.852 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.5854, allocations: 16 kB / 0.7735 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.5858, allocations: 183 kB / 0.7737 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.5858, allocations: 3.938 kB / 0.7737 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.5859, allocations: 4 kB / 0.7737 GB, free: 4.645 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.5859, allocations: 4 kB / 0.7737 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.5863, allocations: 199.7 kB / 0.7739 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.5877, allocations: 0.923 MB / 0.7748 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.5883, allocations: 186.5 kB / 0.775 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000682/0.589, allocations: 0.5181 MB / 0.7755 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.589, allocations: 30.56 kB / 0.7755 GB, free: 2.539 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.589, allocations: 0 / 0.7755 GB, free: 2.539 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.0007154/0.5897, allocations: 257.6 kB / 0.7758 GB, free: 2.281 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.5898, allocations: 51.41 kB / 0.7758 GB, free: 2.219 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.5899, allocations: 154.5 kB / 0.776 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.5899, allocations: 25.7 kB / 0.776 GB, free: 2.031 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.59, allocations: 123.6 kB / 0.7761 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.5901, allocations: 43.36 kB / 0.7761 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.5901, allocations: 4 kB / 0.7762 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5902, allocations: 322.8 kB / 0.7765 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.5904, allocations: 75.95 kB / 0.7765 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.5906, allocations: 102.2 kB / 0.7766 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.5908, allocations: 74.34 kB / 0.7767 GB, free: 1.285 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5909, allocations: 0 / 0.7767 GB, free: 1.285 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004846/0.5914, allocations: 221.4 kB / 0.7769 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.5914, allocations: 4 kB / 0.7769 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5914, allocations: 0 / 0.7769 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.5914, allocations: 7.984 kB / 0.7769 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.5917, allocations: 43.95 kB / 0.777 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.5917, allocations: 3.984 kB / 0.777 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.5919, allocations: 27.73 kB / 0.777 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.5919, allocations: 8 kB / 0.777 GB, free: 0.9688 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.592, allocations: 125.8 kB / 0.7771 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.5921, allocations: 15.86 kB / 0.7771 GB, free: 0.8203 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004988/0.5926, allocations: 207.5 kB / 0.7773 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5926, allocations: 7.938 kB / 0.7773 GB, free: 0.6055 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5926, allocations: 0 / 0.7773 GB, free: 0.6055 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5926, allocations: 0 / 0.7773 GB, free: 0.6055 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.594, allocations: 0.9935 MB / 0.7783 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.594, allocations: 0 / 0.7783 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.5942, allocations: 31.97 kB / 0.7783 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.5943, allocations: 0 / 0.7783 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.5943, allocations: 7.938 kB / 0.7784 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5943, allocations: 0 / 0.7784 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5943, allocations: 3.938 kB / 0.7784 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.5948, allocations: 327.9 kB / 0.7787 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.5949, allocations: 100.9 kB / 0.7788 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.5949, allocations: 8 kB / 0.7788 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.5951, allocations: 15.97 kB / 0.7788 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.5952, allocations: 7.984 kB / 0.7788 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.5952, allocations: 15.95 kB / 0.7788 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.786e-05/0.5953, allocations: 126.1 kB / 0.7789 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5953, allocations: 0 / 0.7789 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005208/0.5958, allocations: 139.8 kB / 0.7791 GB, free: 14.64 MB / 0.5573 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) * 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 (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.0004434/0.5963, allocations: 235 kB / 0.7793 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004767/0.5968, allocations: 181.5 kB / 0.7795 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5968, allocations: 0 / 0.7795 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.597, allocations: 92.08 kB / 0.7795 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.5973, allocations: 41.05 kB / 0.7796 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.5979, allocations: 377.8 kB / 0.7799 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.5982, allocations: 0.7128 MB / 0.7806 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.5983, allocations: 33.8 kB / 0.7807 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.5984, allocations: 19.44 kB / 0.7807 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of SimCode: time 2.4e-07/0.5984, allocations: 0 / 0.7807 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of Templates: time 0.006916/0.6053, allocations: 3.838 MB / 0.7844 GB, free: 9.105 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)