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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009732/0.0009735, allocations: 98.64 kB / 16.02 MB, free: 76 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.0009171/0.0009173, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9469/0.9469, allocations: 135.3 MB / 427.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 8 kB / 0.5082 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1475, allocations: 82.32 MB / 0.5886 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002209/0.1498, allocations: 1.706 MB / 0.5903 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.1523, allocations: 1.707 MB / 0.592 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.484e-05/0.1524, allocations: 4 kB / 0.592 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.821e-05/0.1524, allocations: 19.84 kB / 0.592 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.1526, allocations: 39.67 kB / 0.592 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009845/0.1536, allocations: 299.2 kB / 0.5923 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.1538, allocations: 207.1 kB / 0.5925 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.154, allocations: 49.44 kB / 0.5925 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1541, allocations: 71.78 kB / 0.5926 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.1543, allocations: 79.67 kB / 0.5927 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.1543, allocations: 8 kB / 0.5927 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007898/0.1551, allocations: 387.5 kB / 0.5931 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.1552, allocations: 31.91 kB / 0.5931 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1553, allocations: 109.3 kB / 0.5932 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.1558, allocations: 311.5 kB / 0.5935 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1558, allocations: 4 kB / 0.5935 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.804e-06/0.1558, allocations: 0 / 0.5935 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1558, allocations: 4 kB / 0.5935 GB, free: 13.56 MB / 0.4981 GB 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.0008259/0.1566, allocations: 491.2 kB / 0.594 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1567, allocations: 12.03 kB / 0.594 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000614/0.1573, allocations: 100.7 kB / 0.5941 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.1574, allocations: 180.1 kB / 0.5943 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.749e-05/0.1575, allocations: 54.19 kB / 0.5943 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.1576, allocations: 16.38 kB / 0.5943 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/0.158, allocations: 185.4 kB / 0.5945 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.158, allocations: 0 / 0.5945 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.1581, allocations: 8 kB / 0.5945 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1581, allocations: 15.92 kB / 0.5945 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/0.1586, allocations: 183.9 kB / 0.5947 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.1599, allocations: 0.9189 MB / 0.5956 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.1605, allocations: 182.6 kB / 0.5958 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.1607, allocations: 80.83 kB / 0.5958 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006406/0.1614, allocations: 0.5298 MB / 0.5964 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.1614, allocations: 30.56 kB / 0.5964 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.1614, allocations: 0 / 0.5964 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007528/0.1622, allocations: 256 kB / 0.5966 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.1622, allocations: 51.66 kB / 0.5967 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1624, allocations: 161.7 kB / 0.5968 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.1624, allocations: 29.7 kB / 0.5969 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.1625, allocations: 115.8 kB / 0.597 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.1625, allocations: 55.28 kB / 0.597 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.1626, allocations: 17.72 kB / 0.597 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1627, allocations: 330.8 kB / 0.5974 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.1629, allocations: 75.95 kB / 0.5974 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.1631, allocations: 101.6 kB / 0.5975 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.1635, allocations: 159.7 kB / 0.5977 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1635, allocations: 0 / 0.5977 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005128/0.1641, allocations: 225.4 kB / 0.5979 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1641, allocations: 4 kB / 0.5979 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1641, allocations: 0 / 0.5979 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1641, allocations: 4 kB / 0.5979 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.1644, allocations: 47.94 kB / 0.598 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1644, allocations: 0 / 0.598 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.1646, allocations: 23.83 kB / 0.598 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.1646, allocations: 8 kB / 0.598 GB, free: 8.551 MB / 0.4981 GB 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.0001065/0.1647, allocations: 129.7 kB / 0.5981 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.1648, allocations: 11.91 kB / 0.5981 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005257/0.1653, allocations: 202.4 kB / 0.5983 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1653, allocations: 3.938 kB / 0.5983 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1654, allocations: 4 kB / 0.5983 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1654, allocations: 0 / 0.5983 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.1668, allocations: 0.9934 MB / 0.5993 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1668, allocations: 0 / 0.5993 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.167, allocations: 27.98 kB / 0.5993 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.1671, allocations: 7.984 kB / 0.5993 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.1671, allocations: 4 kB / 0.5993 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1671, allocations: 0 / 0.5993 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.1671, allocations: 7.938 kB / 0.5993 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005192/0.1676, allocations: 304.6 kB / 0.5996 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.1677, allocations: 100.9 kB / 0.5997 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.1677, allocations: 8 kB / 0.5997 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.168, allocations: 15.98 kB / 0.5997 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.168, allocations: 11.92 kB / 0.5998 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.168, allocations: 11.98 kB / 0.5998 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.707e-05/0.1681, allocations: 118.9 kB / 0.5999 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1681, allocations: 0 / 0.5999 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004612/0.1686, allocations: 131.8 kB / 0.6 GB, free: 6.273 MB / 0.4981 GB 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.0004487/0.169, allocations: 223 kB / 0.6002 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005016/0.1696, allocations: 185.7 kB / 0.6004 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1696, allocations: 0 / 0.6004 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.1698, allocations: 88.03 kB / 0.6005 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.1702, allocations: 43.34 kB / 0.6005 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.1709, allocations: 423.3 kB / 0.6009 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.1712, allocations: 0.705 MB / 0.6016 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.1713, allocations: 23.42 kB / 0.6016 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.1713, allocations: 0 / 0.6016 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of Templates: time 0.006836/0.1782, allocations: 3.835 MB / 0.6054 GB, free: 0.7344 MB / 0.4981 GB 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)