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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 104.8 kB / 16.4 MB, free: 6.5 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.001109/0.001109, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7209/0.7209, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 61.19 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1486, allocations: 76.18 MB / 0.6316 GB, free: 5.035 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003408/0.1521, allocations: 1.988 MB / 0.6335 GB, free: 3.031 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.1546, allocations: 1.667 MB / 0.6352 GB, free: 1.355 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1548, allocations: 3.938 kB / 0.6352 GB, free: 1.352 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.812e-05/0.1549, allocations: 23.78 kB / 0.6352 GB, free: 1.328 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.1551, allocations: 47.55 kB / 0.6352 GB, free: 1.281 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.1562, allocations: 354.8 kB / 0.6356 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.1565, allocations: 223.1 kB / 0.6358 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.1567, allocations: 49.42 kB / 0.6358 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.1569, allocations: 79.81 kB / 0.6359 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.157, allocations: 87.69 kB / 0.636 GB, free: 0.5 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.1571, allocations: 20 kB / 0.636 GB, free: 492 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008677/0.158, allocations: 415.5 kB / 0.6364 GB, free: 76 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.158, allocations: 35.91 kB / 0.6364 GB, free: 40 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1581, allocations: 87.73 kB / 0.6365 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007225/0.1589, allocations: 434.5 kB / 0.6369 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1589, allocations: 0 / 0.6369 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.1589, allocations: 0 / 0.6369 GB, free: 15.53 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.1589, allocations: 7.922 kB / 0.6369 GB, free: 15.52 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.0009623/0.1599, allocations: 0.5109 MB / 0.6374 GB, free: 14.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.16, allocations: 12.03 kB / 0.6375 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.919e-05/0.16, allocations: 46.73 kB / 0.6375 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000637/0.1607, allocations: 96.64 kB / 0.6376 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.1608, allocations: 184.2 kB / 0.6378 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.973e-05/0.1609, allocations: 46.27 kB / 0.6378 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.161, allocations: 16.38 kB / 0.6378 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.1614, allocations: 186.5 kB / 0.638 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1614, allocations: 0 / 0.638 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.1615, allocations: 8 kB / 0.638 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1615, allocations: 4 kB / 0.638 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.162, allocations: 180.3 kB / 0.6382 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.1634, allocations: 0.915 MB / 0.6391 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.1639, allocations: 162.6 kB / 0.6392 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.1642, allocations: 80.81 kB / 0.6393 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006503/0.1648, allocations: 0.5259 MB / 0.6398 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.1649, allocations: 34.5 kB / 0.6399 GB, free: 12.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.1649, allocations: 0 / 0.6399 GB, free: 12.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007383/0.1656, allocations: 247.7 kB / 0.6401 GB, free: 11.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.1657, allocations: 51.41 kB / 0.6401 GB, free: 11.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1658, allocations: 160.5 kB / 0.6403 GB, free: 11.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.1659, allocations: 29.7 kB / 0.6403 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.714e-05/0.166, allocations: 115.8 kB / 0.6404 GB, free: 11.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.166, allocations: 47.3 kB / 0.6405 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.1661, allocations: 41.7 kB / 0.6405 GB, free: 11.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1662, allocations: 322.8 kB / 0.6408 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.1664, allocations: 75.95 kB / 0.6409 GB, free: 11.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.1667, allocations: 95.67 kB / 0.641 GB, free: 10.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.1671, allocations: 150.3 kB / 0.6411 GB, free: 10.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1671, allocations: 0 / 0.6411 GB, free: 10.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005136/0.1676, allocations: 219.7 kB / 0.6413 GB, free: 10.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1676, allocations: 8 kB / 0.6413 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1676, allocations: 0 / 0.6413 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1677, allocations: 0 / 0.6413 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.1679, allocations: 40 kB / 0.6414 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1679, allocations: 0 / 0.6414 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.1681, allocations: 27.83 kB / 0.6414 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.1681, allocations: 4 kB / 0.6414 GB, free: 10.5 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.000111/0.1683, allocations: 129.7 kB / 0.6415 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.1683, allocations: 19.75 kB / 0.6416 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/0.1689, allocations: 201.7 kB / 0.6418 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1689, allocations: 3.938 kB / 0.6418 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1689, allocations: 4 kB / 0.6418 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1689, allocations: 0 / 0.6418 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.1703, allocations: 0.9817 MB / 0.6427 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1703, allocations: 0 / 0.6427 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.1705, allocations: 23.98 kB / 0.6427 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.1706, allocations: 12.06 kB / 0.6428 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.1706, allocations: 3.984 kB / 0.6428 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1706, allocations: 4 kB / 0.6428 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1706, allocations: 0 / 0.6428 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.1711, allocations: 296.9 kB / 0.643 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.1712, allocations: 92.86 kB / 0.6431 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.1712, allocations: 8 kB / 0.6431 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.1714, allocations: 11.97 kB / 0.6432 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.1715, allocations: 19.92 kB / 0.6432 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.1715, allocations: 4 kB / 0.6432 GB, free: 8.488 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.334e-05/0.1716, allocations: 121.1 kB / 0.6433 GB, free: 8.371 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1716, allocations: 8 kB / 0.6433 GB, free: 8.363 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004561/0.1721, allocations: 123.9 kB / 0.6434 GB, free: 8.242 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.001159/0.1732, allocations: 0.9364 MB / 0.6443 GB, free: 7.273 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004896/0.1737, allocations: 179.8 kB / 0.6445 GB, free: 7.098 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1738, allocations: 0 / 0.6445 GB, free: 7.098 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.174, allocations: 83.89 kB / 0.6446 GB, free: 7.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.1744, allocations: 52.03 kB / 0.6446 GB, free: 6.965 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.1771, allocations: 2.058 MB / 0.6466 GB, free: 4.805 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1774, allocations: 0.7164 MB / 0.6473 GB, free: 4.062 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.1775, allocations: 32.72 kB / 0.6474 GB, free: 4.035 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.1776, allocations: 39.42 kB / 0.6474 GB, free: 3.996 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1776, allocations: 0 / 0.6474 GB, free: 3.996 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.2026, allocations: 6.109 MB / 0.6534 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.64/7.843, allocations: 4.062 kB / 0.6534 GB, free: 14.06 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)