Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6933/0.6933, allocations: 133.3 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 404.7 MB, free: 6.113 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 111.7 kB / 485.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009861/0.0009861, allocations: 51.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1242, allocations: 80.44 MB / 0.6422 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003353/0.1276, allocations: 2.06 MB / 0.6442 GB, free: 3.367 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.1301, allocations: 1.738 MB / 0.6459 GB, free: 1.621 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.1302, allocations: 4 kB / 0.6459 GB, free: 1.617 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.775e-05/0.1303, allocations: 15.84 kB / 0.6459 GB, free: 1.602 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.1304, allocations: 47.67 kB / 0.6459 GB, free: 1.555 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008738/0.1313, allocations: 291.2 kB / 0.6462 GB, free: 1.27 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.1315, allocations: 219 kB / 0.6464 GB, free: 1.055 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1317, allocations: 37.48 kB / 0.6464 GB, free: 1.016 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.955e-05/0.1318, allocations: 79.77 kB / 0.6465 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1319, allocations: 83.67 kB / 0.6466 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.1319, allocations: 12 kB / 0.6466 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007071/0.1326, allocations: 387.5 kB / 0.647 GB, free: 476 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/0.1327, allocations: 39.89 kB / 0.647 GB, free: 436 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.808e-05/0.1328, allocations: 83.66 kB / 0.6471 GB, free: 352 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.1334, allocations: 423.2 kB / 0.6475 GB, free: 15.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1334, allocations: 0 / 0.6475 GB, free: 15.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1334, allocations: 0 / 0.6475 GB, free: 15.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.1334, allocations: 0 / 0.6475 GB, free: 15.93 MB / 458.7 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.0007695/0.1342, allocations: 0.5147 MB / 0.648 GB, free: 15.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1342, allocations: 12.03 kB / 0.648 GB, free: 15.35 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005771/0.1348, allocations: 88.64 kB / 0.6481 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.1349, allocations: 192.1 kB / 0.6483 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.062e-05/0.135, allocations: 42.27 kB / 0.6483 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.1351, allocations: 12.38 kB / 0.6483 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003941/0.1355, allocations: 189.5 kB / 0.6485 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1355, allocations: 0 / 0.6485 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.1355, allocations: 4 kB / 0.6485 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1355, allocations: 4 kB / 0.6485 GB, free: 14.78 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/0.136, allocations: 183.8 kB / 0.6487 GB, free: 14.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.1373, allocations: 0.9112 MB / 0.6496 GB, free: 13.56 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.1378, allocations: 182.5 kB / 0.6498 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.138, allocations: 80.81 kB / 0.6498 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006222/0.1386, allocations: 0.5181 MB / 0.6503 GB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.1387, allocations: 38.5 kB / 0.6504 GB, free: 12.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.1387, allocations: 0 / 0.6504 GB, free: 12.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007073/0.1394, allocations: 235 kB / 0.6506 GB, free: 12.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.1394, allocations: 55.41 kB / 0.6507 GB, free: 12.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.1396, allocations: 161 kB / 0.6508 GB, free: 12.15 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.1396, allocations: 33.7 kB / 0.6508 GB, free: 12.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.1397, allocations: 119.5 kB / 0.651 GB, free: 11.99 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.1397, allocations: 51.3 kB / 0.651 GB, free: 11.94 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.1398, allocations: 37.7 kB / 0.651 GB, free: 11.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1399, allocations: 330.8 kB / 0.6514 GB, free: 11.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.1402, allocations: 75.89 kB / 0.6514 GB, free: 11.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.1404, allocations: 103.8 kB / 0.6515 GB, free: 11.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.1408, allocations: 141.7 kB / 0.6517 GB, free: 11.24 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1408, allocations: 0 / 0.6517 GB, free: 11.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005524/0.1414, allocations: 219.3 kB / 0.6519 GB, free: 11.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1414, allocations: 4 kB / 0.6519 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1414, allocations: 0 / 0.6519 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1414, allocations: 4 kB / 0.6519 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.1417, allocations: 35.97 kB / 0.6519 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1417, allocations: 4.031 kB / 0.6519 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.1419, allocations: 27.73 kB / 0.652 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.1419, allocations: 4 kB / 0.652 GB, free: 10.95 MB / 458.7 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.0001223/0.142, allocations: 129.7 kB / 0.6521 GB, free: 10.81 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.1421, allocations: 15.91 kB / 0.6521 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005436/0.1426, allocations: 204.6 kB / 0.6523 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1427, allocations: 0 / 0.6523 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1427, allocations: 0 / 0.6523 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1427, allocations: 0 / 0.6523 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.1441, allocations: 0.9778 MB / 0.6532 GB, free: 9.457 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1441, allocations: 0 / 0.6532 GB, free: 9.457 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.1443, allocations: 31.98 kB / 0.6533 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1443, allocations: 0 / 0.6533 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.1444, allocations: 7.984 kB / 0.6533 GB, free: 9.418 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1444, allocations: 4.062 kB / 0.6533 GB, free: 9.414 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1444, allocations: 7.875 kB / 0.6533 GB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000946/0.1453, allocations: 0.9212 MB / 0.6542 GB, free: 8.422 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.1454, allocations: 96.89 kB / 0.6543 GB, free: 8.309 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.1454, allocations: 7.984 kB / 0.6543 GB, free: 8.301 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.1457, allocations: 15.98 kB / 0.6543 GB, free: 8.285 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.1457, allocations: 11.98 kB / 0.6543 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.1457, allocations: 4 kB / 0.6543 GB, free: 8.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.571e-05/0.1458, allocations: 115.2 kB / 0.6544 GB, free: 8.156 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.734e-06/0.1458, allocations: 4 kB / 0.6544 GB, free: 8.152 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005142/0.1463, allocations: 135.8 kB / 0.6546 GB, free: 8.02 MB / 458.7 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.0004037/0.1468, allocations: 225.2 kB / 0.6548 GB, free: 7.793 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004697/0.1472, allocations: 171.9 kB / 0.6549 GB, free: 7.625 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.1472, allocations: 0 / 0.6549 GB, free: 7.625 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.1475, allocations: 87.83 kB / 0.655 GB, free: 7.539 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.1479, allocations: 48.05 kB / 0.6551 GB, free: 7.492 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007342/0.1486, allocations: 0.5065 MB / 0.6556 GB, free: 6.941 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.1489, allocations: 0.7127 MB / 0.6563 GB, free: 6.203 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.149, allocations: 35.05 kB / 0.6563 GB, free: 6.172 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.668e-05/0.1491, allocations: 19.42 kB / 0.6563 GB, free: 6.152 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1491, allocations: 0 / 0.6563 GB, free: 6.152 MB / 458.7 MB Notification: Performance of Templates: time 0.007151/0.1563, allocations: 4.209 MB / 0.6604 GB, free: 1.98 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)