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.001128/0.001128, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.00875/0.00875, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001723/0.001723, allocations: 266.7 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004645, allocations: 22.23 kB / 0.5987 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1585, allocations: 88.54 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002199/0.1607, allocations: 1.707 MB / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.1633, allocations: 1.705 MB / 0.6885 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.1633, allocations: 4 kB / 0.6885 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.396e-05/0.1634, allocations: 17.41 kB / 0.6885 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.1635, allocations: 43.67 kB / 0.6885 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000815/0.1643, allocations: 299 kB / 0.6888 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.1646, allocations: 211.1 kB / 0.689 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1647, allocations: 46.86 kB / 0.689 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.352e-05/0.1648, allocations: 63.84 kB / 0.6891 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.1649, allocations: 84.33 kB / 0.6892 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.165, allocations: 12 kB / 0.6892 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006904/0.1657, allocations: 385.1 kB / 0.6896 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.441e-05/0.1657, allocations: 32.52 kB / 0.6896 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.459e-05/0.1658, allocations: 107.2 kB / 0.6897 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.1663, allocations: 426.8 kB / 0.6901 GB, free: 9.996 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1664, allocations: 3.938 kB / 0.6901 GB, free: 9.992 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1664, allocations: 0 / 0.6901 GB, free: 9.992 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1664, allocations: 0 / 0.6901 GB, free: 9.992 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.000767/0.1672, allocations: 0.4897 MB / 0.6906 GB, free: 9.449 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.1672, allocations: 8.031 kB / 0.6906 GB, free: 9.441 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005942/0.1678, allocations: 100.7 kB / 0.6907 GB, free: 9.344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.168, allocations: 180.2 kB / 0.6909 GB, free: 9.129 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.852e-05/0.168, allocations: 50.25 kB / 0.6909 GB, free: 9.074 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.1681, allocations: 16.38 kB / 0.6909 GB, free: 9.059 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/0.1685, allocations: 179.3 kB / 0.6911 GB, free: 8.879 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.1685, allocations: 7.875 kB / 0.6911 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.1686, allocations: 8 kB / 0.6911 GB, free: 8.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1686, allocations: 4 kB / 0.6911 GB, free: 8.859 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.169, allocations: 192.3 kB / 0.6913 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.1703, allocations: 0.9151 MB / 0.6922 GB, free: 7.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.1708, allocations: 198.5 kB / 0.6924 GB, free: 7.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.1711, allocations: 76.83 kB / 0.6925 GB, free: 7.352 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006254/0.1717, allocations: 0.522 MB / 0.693 GB, free: 6.719 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1717, allocations: 38.5 kB / 0.693 GB, free: 6.672 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.1717, allocations: 0 / 0.693 GB, free: 6.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007165/0.1725, allocations: 244.4 kB / 0.6932 GB, free: 6.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.1725, allocations: 55.41 kB / 0.6933 GB, free: 6.363 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1726, allocations: 158.4 kB / 0.6934 GB, free: 6.199 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1727, allocations: 29.7 kB / 0.6935 GB, free: 6.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.1728, allocations: 115.8 kB / 0.6936 GB, free: 6.047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.1728, allocations: 55.28 kB / 0.6936 GB, free: 5.992 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.1728, allocations: 21.7 kB / 0.6937 GB, free: 5.965 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.173, allocations: 322.8 kB / 0.694 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.1732, allocations: 83.95 kB / 0.694 GB, free: 5.559 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.1734, allocations: 97.61 kB / 0.6941 GB, free: 5.457 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.1738, allocations: 151.6 kB / 0.6943 GB, free: 5.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1738, allocations: 3.938 kB / 0.6943 GB, free: 5.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005081/0.1743, allocations: 225.5 kB / 0.6945 GB, free: 5.074 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1743, allocations: 7.984 kB / 0.6945 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1743, allocations: 0 / 0.6945 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1744, allocations: 0 / 0.6945 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.1746, allocations: 47.89 kB / 0.6946 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1746, allocations: 3.938 kB / 0.6946 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.1748, allocations: 31.83 kB / 0.6946 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.1748, allocations: 4 kB / 0.6946 GB, free: 4.98 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 0.0001077/0.175, allocations: 131 kB / 0.6947 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.175, allocations: 15.81 kB / 0.6947 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005411/0.1756, allocations: 210.7 kB / 0.6949 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1756, allocations: 7.938 kB / 0.6949 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1756, allocations: 0 / 0.6949 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1756, allocations: 0 / 0.6949 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.177, allocations: 0.9857 MB / 0.6959 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.177, allocations: 0 / 0.6959 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.1772, allocations: 32.05 kB / 0.6959 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.1772, allocations: 0 / 0.6959 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.1772, allocations: 7.938 kB / 0.6959 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.1772, allocations: 3.984 kB / 0.6959 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1773, allocations: 0 / 0.6959 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.1778, allocations: 301 kB / 0.6962 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.1778, allocations: 104.8 kB / 0.6963 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.1779, allocations: 0 / 0.6963 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.1781, allocations: 19.98 kB / 0.6964 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.1781, allocations: 15.92 kB / 0.6964 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.1781, allocations: 4 kB / 0.6964 GB, free: 2.949 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.394e-05/0.1782, allocations: 121.3 kB / 0.6965 GB, free: 2.832 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1782, allocations: 0 / 0.6965 GB, free: 2.832 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004341/0.1787, allocations: 127.9 kB / 0.6966 GB, free: 2.707 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.0004061/0.1791, allocations: 227 kB / 0.6968 GB, free: 2.477 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004967/0.1796, allocations: 188.5 kB / 0.697 GB, free: 2.297 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1796, allocations: 0 / 0.697 GB, free: 2.297 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.1798, allocations: 87.89 kB / 0.6971 GB, free: 2.211 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.1803, allocations: 46.95 kB / 0.6971 GB, free: 2.168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.1809, allocations: 393.4 kB / 0.6975 GB, free: 1.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.1812, allocations: 0.7089 MB / 0.6982 GB, free: 1.016 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.1813, allocations: 29.05 kB / 0.6982 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.1814, allocations: 27.42 kB / 0.6983 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1814, allocations: 0 / 0.6983 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of Templates: time 0.007667/0.1891, allocations: 4.123 MB / 0.7023 GB, free: 12.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)