Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001071/0.001071, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6864/0.6864, allocations: 132.2 MB / 148.9 MB, free: 12.12 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.429/1.429, allocations: 222.9 MB / 403.4 MB, free: 7.027 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.0009782/0.0009781, allocations: 102 kB / 484.4 MB, free: 8.645 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 51.91 kB / 0.5619 GB, free: 70.99 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1315, allocations: 80.2 MB / 0.6402 GB, free: 6.715 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003392/0.1349, allocations: 2.079 MB / 0.6422 GB, free: 4.613 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.1374, allocations: 1.742 MB / 0.6439 GB, free: 2.863 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.141e-05/0.1375, allocations: 0 / 0.6439 GB, free: 2.863 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.819e-05/0.1376, allocations: 15.92 kB / 0.6439 GB, free: 2.848 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.1377, allocations: 43.61 kB / 0.644 GB, free: 2.805 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.1388, allocations: 295.2 kB / 0.6442 GB, free: 2.516 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.139, allocations: 207.2 kB / 0.6444 GB, free: 2.312 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1391, allocations: 51.08 kB / 0.6445 GB, free: 2.262 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.1393, allocations: 75.72 kB / 0.6446 GB, free: 2.188 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.1394, allocations: 87.66 kB / 0.6446 GB, free: 2.102 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.1395, allocations: 12 kB / 0.6447 GB, free: 2.09 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008061/0.1403, allocations: 391.5 kB / 0.645 GB, free: 1.707 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/0.1403, allocations: 27.91 kB / 0.6451 GB, free: 1.68 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.308e-05/0.1404, allocations: 87.64 kB / 0.6451 GB, free: 1.594 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006324/0.141, allocations: 423.2 kB / 0.6455 GB, free: 1.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1411, allocations: 4 kB / 0.6455 GB, free: 1.176 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1411, allocations: 0 / 0.6455 GB, free: 1.176 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1411, allocations: 0 / 0.6455 GB, free: 1.176 MB / 442.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.0008384/0.1419, allocations: 0.5186 MB / 0.6461 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.142, allocations: 8.031 kB / 0.6461 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005794/0.1426, allocations: 88.64 kB / 0.6461 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.1427, allocations: 180.1 kB / 0.6463 GB, free: 304 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.888e-05/0.1428, allocations: 54.25 kB / 0.6464 GB, free: 244 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.1428, allocations: 20.31 kB / 0.6464 GB, free: 224 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003907/0.1432, allocations: 181.5 kB / 0.6466 GB, free: 36 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1432, allocations: 0 / 0.6466 GB, free: 36 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.1433, allocations: 8 kB / 0.6466 GB, free: 28 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1433, allocations: 0 / 0.6466 GB, free: 28 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.1437, allocations: 179.8 kB / 0.6467 GB, free: 15.85 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.1451, allocations: 0.9266 MB / 0.6476 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.1456, allocations: 170.6 kB / 0.6478 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.1458, allocations: 76.83 kB / 0.6479 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006172/0.1464, allocations: 0.522 MB / 0.6484 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.1464, allocations: 30.56 kB / 0.6484 GB, free: 13.87 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1465, allocations: 0 / 0.6484 GB, free: 13.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007264/0.1472, allocations: 237.7 kB / 0.6486 GB, free: 13.63 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.1472, allocations: 51.41 kB / 0.6487 GB, free: 13.57 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1474, allocations: 167.8 kB / 0.6489 GB, free: 13.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.1474, allocations: 29.7 kB / 0.6489 GB, free: 13.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.1475, allocations: 119.6 kB / 0.649 GB, free: 13.24 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.1475, allocations: 51.28 kB / 0.649 GB, free: 13.19 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-05/0.1476, allocations: 37.7 kB / 0.6491 GB, free: 13.15 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1477, allocations: 326.8 kB / 0.6494 GB, free: 12.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.148, allocations: 71.95 kB / 0.6495 GB, free: 12.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.1482, allocations: 107.3 kB / 0.6496 GB, free: 12.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.1486, allocations: 147.5 kB / 0.6497 GB, free: 12.49 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1486, allocations: 0 / 0.6497 GB, free: 12.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004978/0.1491, allocations: 209.5 kB / 0.6499 GB, free: 12.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1491, allocations: 8 kB / 0.6499 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1491, allocations: 0 / 0.6499 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1491, allocations: 0 / 0.6499 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.1494, allocations: 39.91 kB / 0.65 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.1494, allocations: 4 kB / 0.65 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.1496, allocations: 27.73 kB / 0.65 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.1496, allocations: 16.02 kB / 0.65 GB, free: 12.19 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.0001005/0.1497, allocations: 127 kB / 0.6501 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.1498, allocations: 11.91 kB / 0.6501 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/0.1503, allocations: 196.2 kB / 0.6503 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1503, allocations: 8 kB / 0.6503 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1503, allocations: 0 / 0.6503 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1503, allocations: 0 / 0.6503 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.1518, allocations: 0.9778 MB / 0.6513 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1518, allocations: 3.938 kB / 0.6513 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.152, allocations: 31.97 kB / 0.6513 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.152, allocations: 0 / 0.6513 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.1521, allocations: 4 kB / 0.6513 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1521, allocations: 4 kB / 0.6513 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1521, allocations: 3.938 kB / 0.6513 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009101/0.153, allocations: 0.9221 MB / 0.6522 GB, free: 9.672 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.1531, allocations: 100.9 kB / 0.6523 GB, free: 9.555 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.1531, allocations: 7.938 kB / 0.6523 GB, free: 9.547 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.1533, allocations: 11.98 kB / 0.6523 GB, free: 9.535 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.1534, allocations: 15.92 kB / 0.6524 GB, free: 9.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1534, allocations: 7.984 kB / 0.6524 GB, free: 9.512 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.909e-05/0.1535, allocations: 117.7 kB / 0.6525 GB, free: 9.398 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1535, allocations: 3.938 kB / 0.6525 GB, free: 9.395 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005438/0.154, allocations: 131.8 kB / 0.6526 GB, free: 9.266 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.0004356/0.1545, allocations: 219.1 kB / 0.6528 GB, free: 9.043 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005291/0.155, allocations: 181.6 kB / 0.653 GB, free: 8.867 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.155, allocations: 4 kB / 0.653 GB, free: 8.863 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.1553, allocations: 79.91 kB / 0.6531 GB, free: 8.785 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.1557, allocations: 49.5 kB / 0.6531 GB, free: 8.738 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000768/0.1565, allocations: 0.4932 MB / 0.6536 GB, free: 8.195 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.1567, allocations: 0.7167 MB / 0.6543 GB, free: 7.453 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.1569, allocations: 35.8 kB / 0.6543 GB, free: 7.422 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.157, allocations: 19.44 kB / 0.6543 GB, free: 7.402 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/0.157, allocations: 0 / 0.6543 GB, free: 7.402 MB / 458.7 MB Notification: Performance of Templates: time 0.007759/0.1648, allocations: 4.205 MB / 0.6585 GB, free: 3.238 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)