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.001255/0.001255, allocations: 114 kB / 17.08 MB, free: 6.004 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.001186/0.001186, allocations: 193.8 kB / 18.02 MB, free: 5.082 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.288/1.288, 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.708/0.708, allocations: 115.3 MB / 407.2 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 66.06 kB / 0.5583 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1413, allocations: 76.18 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002916/0.1442, allocations: 1.988 MB / 0.6347 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.1465, allocations: 1.675 MB / 0.6363 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.1466, allocations: 0 / 0.6363 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.319e-05/0.1467, allocations: 19.8 kB / 0.6363 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.791e-05/0.1468, allocations: 47.55 kB / 0.6364 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008774/0.1477, allocations: 354.8 kB / 0.6367 GB, free: 316 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.1479, allocations: 223.2 kB / 0.6369 GB, free: 92 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.148, allocations: 57.45 kB / 0.637 GB, free: 32 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1481, allocations: 83.7 kB / 0.6371 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.1483, allocations: 87.67 kB / 0.6371 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.1483, allocations: 20 kB / 0.6372 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007124/0.149, allocations: 407.5 kB / 0.6376 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.1491, allocations: 39.84 kB / 0.6376 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.1492, allocations: 87.66 kB / 0.6377 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.1497, allocations: 434.9 kB / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1497, allocations: 4 kB / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1497, allocations: 0 / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1497, 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.0007899/0.1505, allocations: 0.5109 MB / 0.6386 GB, free: 14.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1506, allocations: 12.03 kB / 0.6386 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005318/0.1511, allocations: 88.64 kB / 0.6387 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1513, allocations: 180.2 kB / 0.6389 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.537e-05/0.1513, allocations: 50.25 kB / 0.6389 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.1514, allocations: 16.38 kB / 0.6389 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.1518, allocations: 182.7 kB / 0.6391 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1518, allocations: 3.938 kB / 0.6391 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.1518, allocations: 4 kB / 0.6391 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1518, allocations: 4 kB / 0.6391 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.1522, allocations: 184.3 kB / 0.6393 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.1535, allocations: 0.9112 MB / 0.6402 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.154, allocations: 174.5 kB / 0.6403 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.1541, allocations: 76.83 kB / 0.6404 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006242/0.1548, allocations: 0.5181 MB / 0.6409 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1548, allocations: 38.81 kB / 0.641 GB, free: 11.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.1548, allocations: 4 kB / 0.641 GB, free: 11.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.000624/0.1554, allocations: 237.3 kB / 0.6412 GB, free: 11.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.1555, allocations: 55.41 kB / 0.6412 GB, free: 11.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.1556, allocations: 156.5 kB / 0.6414 GB, free: 11.13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1557, allocations: 29.7 kB / 0.6414 GB, free: 11.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.1557, allocations: 119.8 kB / 0.6415 GB, free: 10.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.1558, allocations: 51.3 kB / 0.6416 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/0.1558, allocations: 33.7 kB / 0.6416 GB, free: 10.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.156, allocations: 326.8 kB / 0.6419 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.1562, allocations: 71.95 kB / 0.642 GB, free: 10.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.1563, allocations: 91.39 kB / 0.6421 GB, free: 10.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.1567, allocations: 154.5 kB / 0.6422 GB, free: 10.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1567, allocations: 3.938 kB / 0.6422 GB, free: 10.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004378/0.1571, allocations: 215.8 kB / 0.6424 GB, free: 10.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1572, allocations: 7.938 kB / 0.6424 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1572, allocations: 4.031 kB / 0.6424 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1572, allocations: 4 kB / 0.6425 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.1574, allocations: 39.91 kB / 0.6425 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.1575, allocations: 0 / 0.6425 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.1576, allocations: 23.83 kB / 0.6425 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.1577, allocations: 8 kB / 0.6425 GB, free: 9.93 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.0001157/0.1578, allocations: 133.7 kB / 0.6426 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.1578, allocations: 23.8 kB / 0.6427 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004675/0.1583, allocations: 192.4 kB / 0.6429 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1583, allocations: 7.922 kB / 0.6429 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1583, allocations: 0 / 0.6429 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1583, allocations: 0 / 0.6429 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.1596, allocations: 0.974 MB / 0.6438 GB, free: 8.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1597, allocations: 8.062 kB / 0.6438 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.1599, allocations: 31.91 kB / 0.6438 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1599, allocations: 0 / 0.6438 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.1599, allocations: 8 kB / 0.6439 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1599, allocations: 0 / 0.6439 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1599, allocations: 4 kB / 0.6439 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.1604, allocations: 289 kB / 0.6441 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.1604, allocations: 100.9 kB / 0.6442 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.1604, allocations: 0 / 0.6442 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.1607, allocations: 15.98 kB / 0.6442 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.1607, allocations: 15.92 kB / 0.6443 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1607, allocations: 4 kB / 0.6443 GB, free: 7.922 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.721e-05/0.1608, allocations: 125.1 kB / 0.6444 GB, free: 7.801 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1608, allocations: 0 / 0.6444 GB, free: 7.801 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004229/0.1613, allocations: 135.8 kB / 0.6445 GB, free: 7.668 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.0003975/0.1617, allocations: 219.1 kB / 0.6447 GB, free: 7.445 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000428/0.1621, allocations: 179 kB / 0.6449 GB, free: 7.273 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.1621, allocations: 0 / 0.6449 GB, free: 7.273 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.1623, allocations: 91.97 kB / 0.645 GB, free: 7.184 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.1627, allocations: 47.89 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.0006403/0.1634, allocations: 342.5 kB / 0.6454 GB, free: 6.762 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.1636, allocations: 0.7124 MB / 0.6461 GB, free: 6.023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.287e-05/0.1637, allocations: 23.44 kB / 0.6461 GB, free: 6 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1637, allocations: 4 kB / 0.6461 GB, free: 5.996 MB / 494.1 MB Notification: Performance of Templates: time 0.005523/0.1693, allocations: 3.88 MB / 0.6499 GB, free: 2.141 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)