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.00613/0.00613, allocations: 100.5 kB / 15.73 MB, free: 6.016 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.001154/0.001154, allocations: 188.5 kB / 16.67 MB, free: 5.938 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002003/0.002003, allocations: 291.9 kB / 290.8 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9531/0.9531, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 91.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1622, allocations: 86.97 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003269/0.1655, allocations: 2.005 MB / 0.7683 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002584/0.1682, allocations: 1.66 MB / 0.77 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1683, allocations: 4 kB / 0.77 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.492e-05/0.1684, allocations: 19.78 kB / 0.77 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.1686, allocations: 47.56 kB / 0.77 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1698, allocations: 362.8 kB / 0.7704 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.1701, allocations: 223 kB / 0.7706 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.1702, allocations: 57.45 kB / 0.7706 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1704, allocations: 71.84 kB / 0.7707 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.1705, allocations: 91.66 kB / 0.7708 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.1706, allocations: 20 kB / 0.7708 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008695/0.1715, allocations: 411.5 kB / 0.7712 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.178e-05/0.1716, allocations: 43.89 kB / 0.7712 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1717, allocations: 87.66 kB / 0.7713 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000727/0.1724, allocations: 426.6 kB / 0.7717 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1724, allocations: 0 / 0.7717 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1724, allocations: 4 kB / 0.7717 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.1724, allocations: 4 kB / 0.7717 GB, free: 2.938 MB / 0.5606 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.0008797/0.1733, allocations: 0.5217 MB / 0.7723 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.1734, allocations: 8.031 kB / 0.7723 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005766/0.174, allocations: 88.73 kB / 0.7723 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.1741, allocations: 184.2 kB / 0.7725 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.5e-05/0.1742, allocations: 50.25 kB / 0.7726 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.1742, allocations: 16.31 kB / 0.7726 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.1747, allocations: 187.9 kB / 0.7728 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1747, allocations: 3.938 kB / 0.7728 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.1747, allocations: 8 kB / 0.7728 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1748, allocations: 4 kB / 0.7728 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004531/0.1752, allocations: 175.8 kB / 0.7729 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.1767, allocations: 0.919 MB / 0.7738 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005065/0.1772, allocations: 170.5 kB / 0.774 GB, free: 392 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.1774, allocations: 84.81 kB / 0.7741 GB, free: 304 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3559/0.5333, allocations: 0.5096 MB / 0.7746 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.5334, allocations: 34.47 kB / 0.7746 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 2.365e-06/0.5334, allocations: 1.312 kB / 0.7746 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.000814/0.5342, allocations: 239.3 kB / 0.7749 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.5343, allocations: 53.78 kB / 0.7749 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.5344, allocations: 163.4 kB / 0.7751 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.5345, allocations: 27.3 kB / 0.7751 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.5345, allocations: 123.2 kB / 0.7752 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.5346, allocations: 52.69 kB / 0.7753 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/0.5347, allocations: 40.73 kB / 0.7753 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.245e-05/0.5347, allocations: 324.3 kB / 0.7756 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.5349, allocations: 71.45 kB / 0.7757 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.5352, allocations: 96.23 kB / 0.7758 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.5356, allocations: 148.5 kB / 0.7759 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5356, allocations: 3.75 kB / 0.7759 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004806/0.5361, allocations: 219 kB / 0.7761 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5361, allocations: 6.125 kB / 0.7761 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5361, allocations: 0.7656 kB / 0.7761 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.5361, allocations: 1.766 kB / 0.7761 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.5364, allocations: 38.92 kB / 0.7762 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5364, allocations: 7.062 kB / 0.7762 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.5366, allocations: 28.03 kB / 0.7762 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.5366, allocations: 7.859 kB / 0.7762 GB, free: 13.84 MB / 0.5606 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 (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.524e-05/0.5367, allocations: 132.1 kB / 0.7763 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.5367, allocations: 20.05 kB / 0.7763 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005022/0.5372, allocations: 190.7 kB / 0.7765 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5372, allocations: 1.828 kB / 0.7765 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5373, allocations: 2.812 kB / 0.7765 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.5373, allocations: 1.172 kB / 0.7765 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.5385, allocations: 0.9824 MB / 0.7775 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5385, allocations: 1.469 kB / 0.7775 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.5387, allocations: 33.11 kB / 0.7775 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5387, allocations: 4.938 kB / 0.7775 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.5388, allocations: 4.719 kB / 0.7775 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.5388, allocations: 2.688 kB / 0.7775 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5388, allocations: 1.125 kB / 0.7775 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.5392, allocations: 288.5 kB / 0.7778 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.5393, allocations: 98.81 kB / 0.7779 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.5393, allocations: 2.094 kB / 0.7779 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.5396, allocations: 16.19 kB / 0.7779 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.5396, allocations: 16.52 kB / 0.7779 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.5396, allocations: 10.22 kB / 0.7779 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.816e-05/0.5397, allocations: 117 kB / 0.7781 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.333e-06/0.5397, allocations: 0 / 0.7781 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000471/0.5402, allocations: 129.5 kB / 0.7782 GB, free: 12.54 MB / 0.5606 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 (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.0004321/0.5406, allocations: 231.8 kB / 0.7784 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000499/0.5412, allocations: 172.5 kB / 0.7786 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5412, allocations: 1 kB / 0.7786 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.5414, allocations: 84.92 kB / 0.7787 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.5418, allocations: 44.14 kB / 0.7787 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/0.5424, allocations: 329.6 kB / 0.779 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.5425, allocations: 0.7109 MB / 0.7797 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.5427, allocations: 30.2 kB / 0.7797 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.5427, allocations: 23.8 kB / 0.7798 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.5428, allocations: 0 / 0.7798 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of Templates: time 0.008542/0.5513, allocations: 4.288 MB / 0.7839 GB, free: 11.13 MB / 0.5606 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)