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.001352/0.001352, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001391/0.001391, allocations: 200.1 kB / 16.26 MB, free: 6.621 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.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002527/0.002527, allocations: 294.8 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.078/1.078, allocations: 178.6 MB / 0.507 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 99.84 kB / 0.6059 GB, free: 25.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1681, allocations: 89.15 MB / 0.693 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003322/0.1715, allocations: 2.077 MB / 0.695 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1739, allocations: 1.648 MB / 0.6966 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.174, allocations: 0 / 0.6966 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.843e-05/0.174, allocations: 11.92 kB / 0.6966 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.573e-05/0.1741, allocations: 43.61 kB / 0.6967 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008168/0.175, allocations: 319.2 kB / 0.697 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.1752, allocations: 223.1 kB / 0.6972 GB, free: 408 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1753, allocations: 45.47 kB / 0.6972 GB, free: 360 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1754, allocations: 79.83 kB / 0.6973 GB, free: 280 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.1756, allocations: 91.67 kB / 0.6974 GB, free: 188 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/0.1756, allocations: 20 kB / 0.6974 GB, free: 168 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007154/0.1763, allocations: 415.5 kB / 0.6978 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.1764, allocations: 39.84 kB / 0.6978 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.249e-05/0.1765, allocations: 87.66 kB / 0.6979 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005578/0.1771, allocations: 431.2 kB / 0.6983 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1771, allocations: 3.938 kB / 0.6983 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1771, allocations: 4 kB / 0.6983 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1771, allocations: 0 / 0.6983 GB, free: 15.2 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.0008249/0.1779, allocations: 0.5148 MB / 0.6989 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.178, allocations: 8.031 kB / 0.6989 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005626/0.1785, allocations: 92.58 kB / 0.6989 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.1787, allocations: 184.2 kB / 0.6991 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.337e-05/0.1788, allocations: 50.25 kB / 0.6992 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.1788, allocations: 12.38 kB / 0.6992 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.1792, allocations: 174.1 kB / 0.6993 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1793, allocations: 7.938 kB / 0.6994 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.1793, allocations: 8 kB / 0.6994 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1793, allocations: 4 kB / 0.6994 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.1798, allocations: 183.7 kB / 0.6995 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.1812, allocations: 0.9074 MB / 0.7004 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.1817, allocations: 182.4 kB / 0.7006 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.1819, allocations: 76.83 kB / 0.7007 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006989/0.1826, allocations: 0.522 MB / 0.7012 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1826, allocations: 38.56 kB / 0.7012 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1826, allocations: 0 / 0.7012 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006947/0.1833, allocations: 233.4 kB / 0.7014 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1834, allocations: 51.41 kB / 0.7015 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1835, allocations: 160.1 kB / 0.7016 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.1836, allocations: 25.7 kB / 0.7017 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.255e-05/0.1837, allocations: 123.8 kB / 0.7018 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.1837, allocations: 47.3 kB / 0.7018 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.1838, allocations: 41.64 kB / 0.7019 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1839, allocations: 322.8 kB / 0.7022 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.1841, allocations: 75.95 kB / 0.7023 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.1844, allocations: 104.1 kB / 0.7024 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.1848, allocations: 141.9 kB / 0.7025 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1848, allocations: 7.875 kB / 0.7025 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004982/0.1853, allocations: 219.6 kB / 0.7027 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1853, allocations: 8.031 kB / 0.7027 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1853, allocations: 0 / 0.7027 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.1853, allocations: 0 / 0.7027 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.1856, allocations: 39.91 kB / 0.7028 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.1856, allocations: 7.938 kB / 0.7028 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.1858, allocations: 23.83 kB / 0.7028 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.1858, allocations: 7.984 kB / 0.7028 GB, free: 10.22 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 (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.0001233/0.1859, allocations: 129.8 kB / 0.7029 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.186, allocations: 11.81 kB / 0.7029 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005154/0.1865, allocations: 201.1 kB / 0.7031 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.1865, allocations: 4 kB / 0.7031 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1865, allocations: 0 / 0.7031 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1865, allocations: 0 / 0.7031 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.1881, allocations: 0.9778 MB / 0.7041 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1881, allocations: 4.062 kB / 0.7041 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.1884, allocations: 31.97 kB / 0.7041 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.1884, allocations: 0 / 0.7041 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.1884, allocations: 11.94 kB / 0.7041 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1884, allocations: 0 / 0.7041 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1884, allocations: 0 / 0.7041 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/0.1889, allocations: 285 kB / 0.7044 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.189, allocations: 100.8 kB / 0.7045 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.189, allocations: 4 kB / 0.7045 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.1893, allocations: 15.98 kB / 0.7045 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1893, allocations: 11.92 kB / 0.7045 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1893, allocations: 8 kB / 0.7045 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.259e-05/0.1894, allocations: 128.9 kB / 0.7047 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1894, allocations: 0 / 0.7047 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004149/0.1899, allocations: 127.9 kB / 0.7048 GB, free: 7.98 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 (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.0004733/0.1903, allocations: 227 kB / 0.705 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004802/0.1908, allocations: 175.8 kB / 0.7052 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1908, allocations: 0 / 0.7052 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.1911, allocations: 84.09 kB / 0.7052 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.1914, allocations: 47 kB / 0.7053 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006682/0.1921, allocations: 376.7 kB / 0.7056 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.1925, allocations: 0.7086 MB / 0.7063 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001571/0.1926, allocations: 36.03 kB / 0.7064 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.1927, allocations: 23.44 kB / 0.7064 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of SimCode: time 3.296e-06/0.1927, allocations: 0 / 0.7064 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.008508/0.2012, allocations: 4.266 MB / 0.7106 GB, free: 2.059 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)