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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.0009156/0.0009156, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009006/0.0009009, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8266/0.8266, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002783/0.0002784, allocations: 10.16 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 82.31 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001751/0.1382, allocations: 1.6 MB / 0.5888 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.14, allocations: 1.468 MB / 0.5902 GB, free: 48 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.264e-05/0.14, allocations: 4 kB / 0.5902 GB, free: 44 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.1401, allocations: 15.84 kB / 0.5902 GB, free: 28 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.1402, allocations: 51.92 kB / 0.5903 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006514/0.1408, allocations: 271.2 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.141, allocations: 143.7 kB / 0.5907 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1411, allocations: 45.62 kB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.756e-05/0.1412, allocations: 71.77 kB / 0.5908 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.1413, allocations: 71.75 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.1414, allocations: 12 kB / 0.5909 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006358/0.142, allocations: 391.4 kB / 0.5912 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.368e-05/0.142, allocations: 35.89 kB / 0.5913 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.1421, allocations: 53.64 kB / 0.5913 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.1424, allocations: 315.5 kB / 0.5916 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1425, allocations: 0 / 0.5916 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1425, allocations: 3.938 kB / 0.5916 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.1425, allocations: 4 kB / 0.5916 GB, free: 14.57 MB / 0.4981 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.0006407/0.1431, allocations: 491 kB / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.7e-05/0.1432, allocations: 8.031 kB / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005273/0.1437, allocations: 95.8 kB / 0.5922 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.1438, allocations: 186.8 kB / 0.5924 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-05/0.1439, allocations: 53.69 kB / 0.5924 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.1439, allocations: 12 kB / 0.5924 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.1443, allocations: 185.4 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1443, allocations: 0 / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.1443, allocations: 4 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1443, allocations: 4 kB / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.1447, allocations: 187.9 kB / 0.5928 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.1459, allocations: 0.9229 MB / 0.5937 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.1464, allocations: 186.5 kB / 0.5939 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/0.1469, allocations: 0.5142 MB / 0.5944 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.147, allocations: 34.56 kB / 0.5944 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.147, allocations: 0 / 0.5944 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.000617/0.1476, allocations: 249.7 kB / 0.5946 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.1476, allocations: 55.34 kB / 0.5947 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.1477, allocations: 174.3 kB / 0.5949 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1478, allocations: 29.7 kB / 0.5949 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.1478, allocations: 111.8 kB / 0.595 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.1479, allocations: 47.36 kB / 0.595 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.1479, allocations: 4 kB / 0.595 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.148, allocations: 322.8 kB / 0.5954 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.1482, allocations: 75.95 kB / 0.5954 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.1484, allocations: 99.91 kB / 0.5955 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.1486, allocations: 67.98 kB / 0.5956 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1486, allocations: 0 / 0.5956 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004426/0.149, allocations: 227.5 kB / 0.5958 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1491, allocations: 8 kB / 0.5958 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1491, allocations: 7.891 kB / 0.5958 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1491, allocations: 0 / 0.5958 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.1493, allocations: 44 kB / 0.5959 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1493, allocations: 0 / 0.5959 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.1495, allocations: 35.67 kB / 0.5959 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1495, allocations: 7.938 kB / 0.5959 GB, free: 9.77 MB / 0.4981 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 9.052e-05/0.1496, allocations: 117.8 kB / 0.596 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.1497, allocations: 15.89 kB / 0.596 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004615/0.1502, allocations: 205.6 kB / 0.5962 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.1502, allocations: 3.953 kB / 0.5962 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1502, allocations: 0 / 0.5962 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1502, allocations: 7.984 kB / 0.5962 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.1514, allocations: 0.9818 MB / 0.5972 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1514, allocations: 3.953 kB / 0.5972 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.1516, allocations: 31.97 kB / 0.5972 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1516, allocations: 4 kB / 0.5972 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1517, allocations: 4 kB / 0.5972 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.1517, allocations: 8 kB / 0.5972 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.1517, allocations: 7.922 kB / 0.5973 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.1521, allocations: 327.4 kB / 0.5976 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.1522, allocations: 96.94 kB / 0.5977 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.1522, allocations: 0 / 0.5977 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.1524, allocations: 19.98 kB / 0.5977 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.1525, allocations: 15.91 kB / 0.5977 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.1525, allocations: 4 kB / 0.5977 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.286e-05/0.1526, allocations: 125.5 kB / 0.5978 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1526, allocations: 4 kB / 0.5978 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003944/0.153, allocations: 123.9 kB / 0.5979 GB, free: 7.469 MB / 0.4981 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.0003594/0.1533, allocations: 231 kB / 0.5982 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004376/0.1538, allocations: 179.8 kB / 0.5983 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1538, allocations: 0 / 0.5983 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.154, allocations: 92.08 kB / 0.5984 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.1543, allocations: 35.92 kB / 0.5985 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.1548, allocations: 383.5 kB / 0.5988 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.155, allocations: 0.7128 MB / 0.5995 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.1552, allocations: 30.84 kB / 0.5995 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.1552, allocations: 19.44 kB / 0.5996 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1552, allocations: 0 / 0.5996 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of Templates: time 0.006372/0.1616, allocations: 4.036 MB / 0.6035 GB, free: 1.766 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: