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.001347/0.001347, allocations: 105.4 kB / 16.41 MB, free: 6.496 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.001185/0.001185, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7237/0.7237, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 59.94 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1322, allocations: 80.93 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002998/0.1352, allocations: 2.009 MB / 0.6673 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002248/0.1375, allocations: 1.659 MB / 0.6689 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.1376, allocations: 4 kB / 0.6689 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.784e-05/0.1376, allocations: 19.8 kB / 0.6689 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.1378, allocations: 51.55 kB / 0.669 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000958/0.1387, allocations: 362.8 kB / 0.6693 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.139, allocations: 215.1 kB / 0.6695 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1391, allocations: 69.27 kB / 0.6696 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1392, allocations: 79.78 kB / 0.6696 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1394, allocations: 95.66 kB / 0.6697 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.1394, allocations: 16 kB / 0.6698 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007221/0.1401, allocations: 407.5 kB / 0.6701 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.1402, allocations: 43.89 kB / 0.6702 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.709e-05/0.1403, allocations: 83.66 kB / 0.6703 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005599/0.1408, allocations: 426.9 kB / 0.6707 GB, free: 268 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1408, allocations: 8 kB / 0.6707 GB, free: 260 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1408, allocations: 0 / 0.6707 GB, free: 260 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1409, allocations: 0 / 0.6707 GB, free: 260 kB / 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.0007728/0.1416, allocations: 0.5109 MB / 0.6712 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1417, allocations: 9.109 kB / 0.6712 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005207/0.1422, allocations: 92.64 kB / 0.6713 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1423, allocations: 176.2 kB / 0.6714 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.462e-05/0.1424, allocations: 50.25 kB / 0.6715 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1425, allocations: 16.12 kB / 0.6715 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.1428, allocations: 193.8 kB / 0.6717 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1429, allocations: 4 kB / 0.6717 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.1429, allocations: 7.938 kB / 0.6717 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1429, allocations: 4 kB / 0.6717 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.1433, allocations: 179.9 kB / 0.6719 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.1446, allocations: 0.9224 MB / 0.6728 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.1451, allocations: 166.5 kB / 0.6729 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.1453, allocations: 80.83 kB / 0.673 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006004/0.1459, allocations: 0.5181 MB / 0.6735 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.1459, allocations: 30.56 kB / 0.6735 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.1459, allocations: 4 kB / 0.6736 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.000682/0.1466, allocations: 241.3 kB / 0.6738 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.1466, allocations: 51.41 kB / 0.6738 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.1468, allocations: 165.6 kB / 0.674 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1468, allocations: 25.7 kB / 0.674 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.1469, allocations: 123.8 kB / 0.6741 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.1469, allocations: 47.28 kB / 0.6742 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.537e-05/0.147, allocations: 37.7 kB / 0.6742 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.1471, allocations: 326.8 kB / 0.6745 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.1473, allocations: 79.95 kB / 0.6746 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.1475, allocations: 96.08 kB / 0.6747 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.1479, allocations: 157.5 kB / 0.6748 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1479, allocations: 0 / 0.6748 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004753/0.1484, allocations: 207.8 kB / 0.675 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1484, allocations: 8 kB / 0.675 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1484, allocations: 4.031 kB / 0.6751 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1485, allocations: 0 / 0.6751 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.1487, allocations: 43.91 kB / 0.6751 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1487, allocations: 7.938 kB / 0.6751 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.1489, allocations: 19.83 kB / 0.6751 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1489, allocations: 11.98 kB / 0.6751 GB, free: 11.27 MB / 0.5137 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.0001062/0.149, allocations: 127 kB / 0.6753 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.1491, allocations: 15.91 kB / 0.6753 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004813/0.1495, allocations: 194.4 kB / 0.6755 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1496, allocations: 4 kB / 0.6755 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1496, allocations: 0 / 0.6755 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1496, allocations: 0 / 0.6755 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.1509, allocations: 0.9778 MB / 0.6764 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1509, allocations: 0 / 0.6764 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.1511, allocations: 39.97 kB / 0.6764 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1511, allocations: 0 / 0.6764 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1511, allocations: 3.938 kB / 0.6765 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.1511, allocations: 11.88 kB / 0.6765 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1511, allocations: 0 / 0.6765 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.1516, allocations: 293 kB / 0.6767 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.1517, allocations: 89 kB / 0.6768 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1517, allocations: 8 kB / 0.6768 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.1519, allocations: 15.92 kB / 0.6769 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.152, allocations: 11.98 kB / 0.6769 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.152, allocations: 4 kB / 0.6769 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.145e-05/0.1521, allocations: 126.9 kB / 0.677 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.1521, allocations: 0 / 0.677 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004027/0.1525, allocations: 123.9 kB / 0.6771 GB, free: 9.043 MB / 0.5137 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.0003863/0.1529, allocations: 227 kB / 0.6773 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004637/0.1534, allocations: 183.7 kB / 0.6775 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.1534, allocations: 4 kB / 0.6775 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.1536, allocations: 88.03 kB / 0.6776 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1539, allocations: 35.97 kB / 0.6776 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.1546, allocations: 334.4 kB / 0.6779 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.1549, allocations: 0.7124 MB / 0.6786 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.838e-05/0.1549, allocations: 19.44 kB / 0.6787 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.155, allocations: 4 kB / 0.6787 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of Templates: time 0.005921/0.1609, allocations: 3.887 MB / 0.6825 GB, free: 3.52 MB / 0.5137 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)