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.001036/0.001036, allocations: 105.3 kB / 15.98 MB, free: 6.352 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.001102/0.001102, allocations: 193 kB / 16.91 MB, free: 6.188 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.241/1.241, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 285.5 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9075/0.9075, allocations: 169.2 MB / 0.4985 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 94.41 kB / 0.5953 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1646, allocations: 86.98 MB / 0.6803 GB, free: 8.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002977/0.1676, allocations: 2.061 MB / 0.6823 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.1698, allocations: 1.648 MB / 0.6839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.1699, allocations: 4 kB / 0.6839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.178e-05/0.1699, allocations: 11.91 kB / 0.6839 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.1701, allocations: 51.55 kB / 0.684 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008862/0.171, allocations: 319.2 kB / 0.6843 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.1712, allocations: 215.1 kB / 0.6845 GB, free: 4.277 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.1713, allocations: 61.7 kB / 0.6845 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.929e-05/0.1714, allocations: 79.84 kB / 0.6846 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.1715, allocations: 91.66 kB / 0.6847 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.1716, allocations: 19.94 kB / 0.6847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006561/0.1722, allocations: 407.5 kB / 0.6851 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.026e-05/0.1723, allocations: 39.91 kB / 0.6851 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.1724, allocations: 95.58 kB / 0.6852 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.1727, allocations: 319.3 kB / 0.6855 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1727, allocations: 0 / 0.6855 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1728, allocations: 3.938 kB / 0.6855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1728, allocations: 4 kB / 0.6855 GB, free: 3.176 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.0007444/0.1735, allocations: 0.5108 MB / 0.686 GB, free: 2.609 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1736, allocations: 8.031 kB / 0.686 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005487/0.1741, allocations: 92.64 kB / 0.6861 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.1743, allocations: 180.2 kB / 0.6863 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/0.1743, allocations: 46.25 kB / 0.6864 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.1744, allocations: 12.38 kB / 0.6864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.1748, allocations: 186.1 kB / 0.6865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1748, allocations: 3.938 kB / 0.6865 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.1748, allocations: 4 kB / 0.6866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1748, allocations: 4 kB / 0.6866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000412/0.1753, allocations: 179.8 kB / 0.6867 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.1765, allocations: 0.9151 MB / 0.6876 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.177, allocations: 185.3 kB / 0.6878 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.1772, allocations: 76.83 kB / 0.6879 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2974/0.4746, allocations: 0.5125 MB / 0.6884 GB, free: 18.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.4747, allocations: 38.75 kB / 0.6884 GB, free: 18.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.705e-06/0.4747, allocations: 0 / 0.6884 GB, free: 18.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009207/0.4757, allocations: 234.2 kB / 0.6886 GB, free: 18.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.4757, allocations: 53.94 kB / 0.6887 GB, free: 17.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.4759, allocations: 158.4 kB / 0.6888 GB, free: 17.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.4759, allocations: 28.19 kB / 0.6889 GB, free: 17.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/0.476, allocations: 118.5 kB / 0.689 GB, free: 17.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.4761, allocations: 47.55 kB / 0.689 GB, free: 17.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.4762, allocations: 44.61 kB / 0.6891 GB, free: 17.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.853e-05/0.4763, allocations: 322.1 kB / 0.6894 GB, free: 17.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.4765, allocations: 75.83 kB / 0.6894 GB, free: 17.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.4767, allocations: 95.78 kB / 0.6895 GB, free: 17.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/0.4771, allocations: 146.5 kB / 0.6897 GB, free: 17.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.4771, allocations: 3.75 kB / 0.6897 GB, free: 17.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005324/0.4777, allocations: 224.7 kB / 0.6899 GB, free: 17.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.4777, allocations: 6.641 kB / 0.6899 GB, free: 17.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.4777, allocations: 0.7188 kB / 0.6899 GB, free: 17.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.4778, allocations: 5 kB / 0.6899 GB, free: 17.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.478, allocations: 37.3 kB / 0.6899 GB, free: 17.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.4781, allocations: 1.188 kB / 0.6899 GB, free: 17.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.4782, allocations: 22.45 kB / 0.69 GB, free: 17.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.4783, allocations: 6.359 kB / 0.69 GB, free: 17.31 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 (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 9.069e-05/0.4784, allocations: 134.6 kB / 0.6901 GB, free: 17.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.4784, allocations: 14.7 kB / 0.6901 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005075/0.4789, allocations: 195 kB / 0.6903 GB, free: 17.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.4789, allocations: 2.125 kB / 0.6903 GB, free: 17.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.479, allocations: 0 / 0.6903 GB, free: 17.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.479, allocations: 5.828 kB / 0.6903 GB, free: 17.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.4803, allocations: 0.9802 MB / 0.6913 GB, free: 16.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4803, allocations: 0.625 kB / 0.6913 GB, free: 16.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.4805, allocations: 31.88 kB / 0.6913 GB, free: 16.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4805, allocations: 2.625 kB / 0.6913 GB, free: 16.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.4806, allocations: 7.109 kB / 0.6913 GB, free: 16.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4806, allocations: 2.219 kB / 0.6913 GB, free: 16.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4806, allocations: 4.219 kB / 0.6913 GB, free: 16.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.481, allocations: 286.9 kB / 0.6916 GB, free: 16.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/0.4811, allocations: 89.39 kB / 0.6917 GB, free: 16.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.4811, allocations: 7.234 kB / 0.6917 GB, free: 16.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.4813, allocations: 12.39 kB / 0.6917 GB, free: 16.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.4813, allocations: 25.06 kB / 0.6917 GB, free: 16.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.4814, allocations: 9.859 kB / 0.6917 GB, free: 16.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.613e-05/0.4814, allocations: 117.9 kB / 0.6918 GB, free: 15.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4814, allocations: 1.688 kB / 0.6918 GB, free: 15.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004267/0.4819, allocations: 129.8 kB / 0.692 GB, free: 15.93 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 (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.0004091/0.4823, allocations: 224.2 kB / 0.6922 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004868/0.4828, allocations: 181.9 kB / 0.6923 GB, free: 15.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4828, allocations: 4.094 kB / 0.6923 GB, free: 15.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.483, allocations: 85.86 kB / 0.6924 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.4834, allocations: 47.61 kB / 0.6925 GB, free: 15.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.4841, allocations: 394.9 kB / 0.6928 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.4842, allocations: 0.7066 MB / 0.6935 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.054e-05/0.4843, allocations: 26.89 kB / 0.6936 GB, free: 14.73 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4843, allocations: 0 / 0.6936 GB, free: 14.73 MB / 494.1 MB Notification: Performance of Templates: time 0.006679/0.491, allocations: 3.856 MB / 0.6973 GB, free: 14.35 MB / 494.1 MB 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)