Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008403/0.0008404, allocations: 98.97 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009151/0.0009151, allocations: 185.9 kB / 16.92 MB, free: 6.754 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7827/0.7827, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004827, allocations: 11.94 kB / 495.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1745, allocations: 77.52 MB / 0.5599 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002227/0.1768, allocations: 1.714 MB / 0.5616 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.1794, allocations: 1.699 MB / 0.5633 GB, free: 5.602 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1796, allocations: 0 / 0.5633 GB, free: 5.602 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.735e-05/0.1797, allocations: 23.86 kB / 0.5633 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.1798, allocations: 39.67 kB / 0.5633 GB, free: 5.539 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.1808, allocations: 291.2 kB / 0.5636 GB, free: 5.254 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.1811, allocations: 211.1 kB / 0.5638 GB, free: 5.047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1812, allocations: 49.44 kB / 0.5639 GB, free: 4.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.1814, allocations: 67.78 kB / 0.5639 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.1816, allocations: 83.66 kB / 0.564 GB, free: 4.848 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.1816, allocations: 12 kB / 0.564 GB, free: 4.836 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008254/0.1824, allocations: 391.5 kB / 0.5644 GB, free: 4.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.1825, allocations: 35.84 kB / 0.5644 GB, free: 4.418 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1826, allocations: 105.3 kB / 0.5645 GB, free: 4.309 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006419/0.1833, allocations: 419.2 kB / 0.5649 GB, free: 3.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.1833, allocations: 4 kB / 0.5649 GB, free: 3.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1833, allocations: 3.938 kB / 0.5649 GB, free: 3.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1833, allocations: 0 / 0.5649 GB, free: 3.891 MB / 430.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.0008428/0.1842, allocations: 495.2 kB / 0.5654 GB, free: 3.352 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1842, allocations: 12.03 kB / 0.5654 GB, free: 3.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006116/0.1848, allocations: 100.6 kB / 0.5655 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.185, allocations: 180.1 kB / 0.5657 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.549e-05/0.1851, allocations: 46.25 kB / 0.5657 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.1851, allocations: 20.38 kB / 0.5657 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.1855, allocations: 182.1 kB / 0.5659 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1856, allocations: 7.922 kB / 0.5659 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.1856, allocations: 4 kB / 0.5659 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1856, allocations: 4 kB / 0.5659 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.1861, allocations: 191.9 kB / 0.5661 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.1875, allocations: 0.9109 MB / 0.567 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005364/0.1881, allocations: 186.5 kB / 0.5672 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.1883, allocations: 84.83 kB / 0.5673 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006953/0.189, allocations: 0.5181 MB / 0.5678 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.1891, allocations: 42.44 kB / 0.5678 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 2.294e-06/0.1891, allocations: 0 / 0.5678 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007569/0.1898, allocations: 253.1 kB / 0.568 GB, free: 336 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.1899, allocations: 55.41 kB / 0.5681 GB, free: 268 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1901, allocations: 168.8 kB / 0.5683 GB, free: 92 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1901, allocations: 25.7 kB / 0.5683 GB, free: 60 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.1902, allocations: 119.8 kB / 0.5684 GB, free: 15.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.1903, allocations: 43.34 kB / 0.5684 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.1903, allocations: 21.72 kB / 0.5685 GB, free: 15.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1905, allocations: 322.8 kB / 0.5688 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.1907, allocations: 79.95 kB / 0.5688 GB, free: 15.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.1909, allocations: 95.73 kB / 0.5689 GB, free: 15.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.1914, allocations: 163.8 kB / 0.5691 GB, free: 15.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.1914, allocations: 7.938 kB / 0.5691 GB, free: 15.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005352/0.1919, allocations: 221.5 kB / 0.5693 GB, free: 14.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.192, allocations: 4 kB / 0.5693 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.192, allocations: 3.938 kB / 0.5693 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.192, allocations: 4 kB / 0.5693 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.1923, allocations: 35.97 kB / 0.5694 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1923, allocations: 4 kB / 0.5694 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.1925, allocations: 31.67 kB / 0.5694 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1925, allocations: 8 kB / 0.5694 GB, free: 14.88 MB / 446.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.0001251/0.1926, allocations: 129.7 kB / 0.5695 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.1927, allocations: 11.91 kB / 0.5695 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000555/0.1932, allocations: 206.4 kB / 0.5697 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1933, allocations: 0 / 0.5697 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1933, allocations: 0 / 0.5697 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.1933, allocations: 3.984 kB / 0.5697 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.1948, allocations: 0.9926 MB / 0.5707 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1948, allocations: 0 / 0.5707 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.1951, allocations: 36.03 kB / 0.5707 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.1951, allocations: 8 kB / 0.5707 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1951, allocations: 0 / 0.5707 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1951, allocations: 0 / 0.5707 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1951, allocations: 4 kB / 0.5708 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/0.1956, allocations: 300.9 kB / 0.571 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.1957, allocations: 92.94 kB / 0.5711 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.1958, allocations: 4 kB / 0.5711 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.196, allocations: 15.98 kB / 0.5711 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.1961, allocations: 23.92 kB / 0.5712 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.1961, allocations: 7.984 kB / 0.5712 GB, free: 12.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.548e-05/0.1962, allocations: 118.5 kB / 0.5713 GB, free: 12.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1962, allocations: 0 / 0.5713 GB, free: 12.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004842/0.1967, allocations: 127.8 kB / 0.5714 GB, free: 12.62 MB / 446.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.0005012/0.1972, allocations: 235 kB / 0.5716 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.1977, allocations: 190.8 kB / 0.5718 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1977, allocations: 0 / 0.5718 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.198, allocations: 83.91 kB / 0.5719 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.1984, allocations: 49.64 kB / 0.5719 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007244/0.1991, allocations: 389.4 kB / 0.5723 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.1994, allocations: 0.7167 MB / 0.573 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.1996, allocations: 26.52 kB / 0.573 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/0.1997, allocations: 19.42 kB / 0.5731 GB, free: 10.86 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1997, allocations: 4 kB / 0.5731 GB, free: 10.86 MB / 446.1 MB Notification: Performance of Templates: time 0.00818/0.2079, allocations: 4.117 MB / 0.5771 GB, free: 6.797 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)