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.001162/0.001161, allocations: 115.5 kB / 17.09 MB, free: 6.012 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.001169/0.001169, allocations: 193.8 kB / 18.02 MB, free: 5.094 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.39/1.39, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.788/0.788, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 62.97 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1667, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003104/0.1699, allocations: 2.002 MB / 0.6347 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.1724, allocations: 1.663 MB / 0.6363 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.347e-05/0.1724, allocations: 4 kB / 0.6363 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 6.626e-05/0.1725, allocations: 19.78 kB / 0.6363 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.1727, allocations: 55.55 kB / 0.6364 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1738, allocations: 350.8 kB / 0.6367 GB, free: 304 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.174, allocations: 227 kB / 0.6369 GB, free: 76 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.1741, allocations: 55.19 kB / 0.637 GB, free: 20 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.1743, allocations: 71.84 kB / 0.6371 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.1744, allocations: 91.66 kB / 0.6371 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.1745, allocations: 20 kB / 0.6372 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007509/0.1752, allocations: 407.5 kB / 0.6376 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.1753, allocations: 43.89 kB / 0.6376 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.183e-05/0.1754, allocations: 83.66 kB / 0.6377 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005458/0.1759, allocations: 434.9 kB / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1759, allocations: 4 kB / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1759, allocations: 0 / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.176, allocations: 0 / 0.6381 GB, free: 14.89 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.0008154/0.1768, allocations: 0.5147 MB / 0.6386 GB, free: 14.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1768, allocations: 8.031 kB / 0.6386 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005907/0.1774, allocations: 92.64 kB / 0.6387 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.1776, allocations: 180.2 kB / 0.6389 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.94e-05/0.1776, allocations: 46.27 kB / 0.6389 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1777, allocations: 16.38 kB / 0.6389 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.1781, allocations: 178.7 kB / 0.6391 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1781, allocations: 3.938 kB / 0.6391 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.1782, allocations: 12 kB / 0.6391 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1782, allocations: 4 kB / 0.6391 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.1786, allocations: 176.3 kB / 0.6393 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.18, allocations: 0.9151 MB / 0.6402 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.1805, allocations: 178.5 kB / 0.6403 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.1807, allocations: 84.8 kB / 0.6404 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006294/0.1813, allocations: 0.5142 MB / 0.6409 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1814, allocations: 38.81 kB / 0.641 GB, free: 11.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.1814, allocations: 0 / 0.641 GB, free: 11.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007095/0.1821, allocations: 243.7 kB / 0.6412 GB, free: 11.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.1821, allocations: 51.41 kB / 0.6412 GB, free: 11.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.1823, allocations: 161.3 kB / 0.6414 GB, free: 11.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1823, allocations: 29.7 kB / 0.6414 GB, free: 11.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.1824, allocations: 123.8 kB / 0.6415 GB, free: 10.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.1825, allocations: 47.3 kB / 0.6416 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.065e-05/0.1825, allocations: 37.7 kB / 0.6416 GB, free: 10.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1827, allocations: 322.8 kB / 0.6419 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.1829, allocations: 71.95 kB / 0.642 GB, free: 10.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.1831, allocations: 95.73 kB / 0.6421 GB, free: 10.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.1835, allocations: 150.3 kB / 0.6422 GB, free: 10.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1835, allocations: 3.938 kB / 0.6422 GB, free: 10.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004898/0.184, allocations: 223.8 kB / 0.6425 GB, free: 9.996 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.184, allocations: 8 kB / 0.6425 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.184, allocations: 0 / 0.6425 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.184, allocations: 0 / 0.6425 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.1843, allocations: 35.97 kB / 0.6425 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1843, allocations: 0 / 0.6425 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.1845, allocations: 31.83 kB / 0.6425 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.1845, allocations: 4 kB / 0.6425 GB, free: 9.918 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.0001112/0.1846, allocations: 133.7 kB / 0.6427 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.1847, allocations: 15.81 kB / 0.6427 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005132/0.1852, allocations: 194.4 kB / 0.6429 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.1852, allocations: 4 kB / 0.6429 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1852, allocations: 0 / 0.6429 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1852, allocations: 4 kB / 0.6429 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.1867, allocations: 0.9817 MB / 0.6438 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1867, allocations: 0 / 0.6438 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.1869, allocations: 23.98 kB / 0.6438 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.1869, allocations: 4 kB / 0.6439 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.1869, allocations: 7.984 kB / 0.6439 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1869, allocations: 4 kB / 0.6439 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1869, allocations: 0 / 0.6439 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.1874, allocations: 297 kB / 0.6441 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.1875, allocations: 88.95 kB / 0.6442 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.1875, allocations: 4 kB / 0.6442 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.1878, allocations: 19.97 kB / 0.6443 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.1878, allocations: 19.86 kB / 0.6443 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1878, allocations: 4 kB / 0.6443 GB, free: 7.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.525e-05/0.1879, allocations: 129.1 kB / 0.6444 GB, free: 7.785 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1879, allocations: 0 / 0.6444 GB, free: 7.785 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004859/0.1884, allocations: 127.8 kB / 0.6445 GB, free: 7.66 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.0004569/0.1889, allocations: 227 kB / 0.6447 GB, free: 7.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004976/0.1894, allocations: 170.9 kB / 0.6449 GB, free: 7.266 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1894, allocations: 3.938 kB / 0.6449 GB, free: 7.262 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.1896, allocations: 87.95 kB / 0.645 GB, free: 7.176 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.1901, allocations: 39.97 kB / 0.645 GB, free: 7.137 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006953/0.1908, allocations: 350.6 kB / 0.6454 GB, free: 6.754 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.1911, allocations: 0.7047 MB / 0.646 GB, free: 6.023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.202e-05/0.1912, allocations: 31.42 kB / 0.6461 GB, free: 5.992 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1912, allocations: 0 / 0.6461 GB, free: 5.992 MB / 494.1 MB Notification: Performance of Templates: time 0.006164/0.1974, allocations: 3.861 MB / 0.6498 GB, free: 2.152 MB / 494.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)