Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009866/0.0009865, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.00108/0.00108, allocations: 168.7 kB / 15.95 MB, free: 204 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.309/1.309, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001769/0.001769, allocations: 266.9 kB / 291.4 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9444/0.9444, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004034, allocations: 14.92 kB / 0.598 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1364, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001903/0.1383, allocations: 1.666 MB / 0.6861 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.1404, allocations: 1.549 MB / 0.6876 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.1405, allocations: 1.625 kB / 0.6876 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.494e-05/0.1406, allocations: 11.92 kB / 0.6876 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.872e-05/0.1407, allocations: 43.61 kB / 0.6877 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007316/0.1414, allocations: 269.8 kB / 0.6879 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.1416, allocations: 203.2 kB / 0.6881 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1417, allocations: 37.69 kB / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.547e-05/0.1418, allocations: 71.78 kB / 0.6882 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.142, allocations: 75.73 kB / 0.6883 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.142, allocations: 12 kB / 0.6883 GB, free: 11.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007058/0.1427, allocations: 385.2 kB / 0.6887 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.1428, allocations: 31.89 kB / 0.6887 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.1428, allocations: 53.64 kB / 0.6888 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.1432, allocations: 323.5 kB / 0.6891 GB, free: 10.76 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1432, allocations: 1.719 kB / 0.6891 GB, free: 10.76 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1432, allocations: 0 / 0.6891 GB, free: 10.76 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.696e-06/0.1432, allocations: 0 / 0.6891 GB, free: 10.76 MB / 494.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.0007089/0.1439, allocations: 494.3 kB / 0.6895 GB, free: 10.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.144, allocations: 8.031 kB / 0.6896 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005353/0.1445, allocations: 110.3 kB / 0.6897 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.1447, allocations: 174.9 kB / 0.6898 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.215e-05/0.1447, allocations: 57.62 kB / 0.6899 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.1448, allocations: 12 kB / 0.6899 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.1452, allocations: 186.8 kB / 0.6901 GB, free: 9.645 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1452, allocations: 0 / 0.6901 GB, free: 9.645 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.1452, allocations: 4 kB / 0.6901 GB, free: 9.641 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1452, allocations: 4 kB / 0.6901 GB, free: 9.637 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.1457, allocations: 204.3 kB / 0.6903 GB, free: 9.438 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.147, allocations: 0.9035 MB / 0.6912 GB, free: 8.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.1474, allocations: 178.6 kB / 0.6913 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.1476, allocations: 84.83 kB / 0.6914 GB, free: 8.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006048/0.1483, allocations: 0.5181 MB / 0.6919 GB, free: 7.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1483, allocations: 34.52 kB / 0.6919 GB, free: 7.469 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1483, allocations: 4 kB / 0.692 GB, free: 7.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.000721/0.149, allocations: 256.5 kB / 0.6922 GB, free: 7.211 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1491, allocations: 59.41 kB / 0.6923 GB, free: 7.141 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1492, allocations: 156.7 kB / 0.6924 GB, free: 6.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1493, allocations: 29.64 kB / 0.6924 GB, free: 6.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.1493, allocations: 123.8 kB / 0.6925 GB, free: 6.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.1494, allocations: 43.3 kB / 0.6926 GB, free: 6.777 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/0.1494, allocations: 8 kB / 0.6926 GB, free: 6.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1495, allocations: 318.8 kB / 0.6929 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.1497, allocations: 79.97 kB / 0.693 GB, free: 6.371 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.15, allocations: 97.66 kB / 0.6931 GB, free: 6.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.1502, allocations: 77.77 kB / 0.6931 GB, free: 6.195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1502, allocations: 4 kB / 0.6931 GB, free: 6.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004911/0.1507, allocations: 221.4 kB / 0.6934 GB, free: 5.969 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1507, allocations: 9.969 kB / 0.6934 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1507, allocations: 0 / 0.6934 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1507, allocations: 4 kB / 0.6934 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.151, allocations: 43.94 kB / 0.6934 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.151, allocations: 4 kB / 0.6934 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.1512, allocations: 23.83 kB / 0.6934 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.1512, allocations: 4 kB / 0.6934 GB, free: 5.883 MB / 494.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 ($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.0001105/0.1513, allocations: 134.4 kB / 0.6936 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.1513, allocations: 15.81 kB / 0.6936 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004945/0.1518, allocations: 198.4 kB / 0.6938 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1519, allocations: 4 kB / 0.6938 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1519, allocations: 0 / 0.6938 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1519, allocations: 4 kB / 0.6938 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.1533, allocations: 0.9857 MB / 0.6947 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1533, allocations: 3.938 kB / 0.6948 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.1535, allocations: 31.92 kB / 0.6948 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1535, allocations: 0 / 0.6948 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1535, allocations: 7.984 kB / 0.6948 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1535, allocations: 0 / 0.6948 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1535, allocations: 64 / 0.6948 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.154, allocations: 301 kB / 0.6951 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.1541, allocations: 104.8 kB / 0.6952 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.1541, allocations: 4 kB / 0.6952 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.1543, allocations: 19.98 kB / 0.6952 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.1544, allocations: 11.98 kB / 0.6952 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.1544, allocations: 7.984 kB / 0.6952 GB, free: 3.855 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.445e-05/0.1545, allocations: 113.5 kB / 0.6953 GB, free: 3.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1545, allocations: 0 / 0.6953 GB, free: 3.746 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004198/0.1549, allocations: 139.8 kB / 0.6955 GB, free: 3.609 MB / 494.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 (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.0003959/0.1553, allocations: 223.1 kB / 0.6957 GB, free: 3.383 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004462/0.1558, allocations: 192.5 kB / 0.6959 GB, free: 3.199 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1558, allocations: 4 kB / 0.6959 GB, free: 3.195 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.156, allocations: 88.03 kB / 0.6959 GB, free: 3.109 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1564, allocations: 35.97 kB / 0.696 GB, free: 3.074 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005902/0.157, allocations: 377.6 kB / 0.6963 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.1573, allocations: 0.7089 MB / 0.697 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000157/0.1574, allocations: 29.05 kB / 0.6971 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.1575, allocations: 23.44 kB / 0.6971 GB, free: 1.891 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1575, allocations: 0 / 0.6971 GB, free: 1.891 MB / 494.1 MB Notification: Performance of Templates: time 0.007625/0.1651, allocations: 4.049 MB / 0.701 GB, free: 13.89 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)