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: translateModel(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001162/0.001162, allocations: 96.27 kB / 15.69 MB, free: 480 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.001346/0.001346, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.295/1.295, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6558/0.6558, allocations: 113.8 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 11.98 kB / 493.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001782/0.1363, allocations: 1.594 MB / 0.5584 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.1382, allocations: 1.462 MB / 0.5598 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.1383, allocations: 4 kB / 0.5598 GB, free: 8.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.1383, allocations: 11.86 kB / 0.5598 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.672e-05/0.1384, allocations: 51.88 kB / 0.5599 GB, free: 8.457 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007512/0.1392, allocations: 271.2 kB / 0.5601 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1393, allocations: 147.7 kB / 0.5603 GB, free: 8.047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1395, allocations: 33.66 kB / 0.5603 GB, free: 8.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.226e-05/0.1396, allocations: 75.83 kB / 0.5604 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1397, allocations: 79.67 kB / 0.5605 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.1397, allocations: 12 kB / 0.5605 GB, free: 7.844 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006582/0.1404, allocations: 383.5 kB / 0.5608 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.439e-05/0.1404, allocations: 31.91 kB / 0.5609 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.1405, allocations: 49.64 kB / 0.5609 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.1409, allocations: 319.5 kB / 0.5612 GB, free: 7.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1409, allocations: 4 kB / 0.5612 GB, free: 7.066 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1409, allocations: 0 / 0.5612 GB, free: 7.066 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1409, allocations: 0 / 0.5612 GB, free: 7.066 MB / 430.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.0007025/0.1416, allocations: 487.1 kB / 0.5617 GB, free: 6.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1416, allocations: 8.031 kB / 0.5617 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005765/0.1422, allocations: 107.7 kB / 0.5618 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1423, allocations: 178.9 kB / 0.562 GB, free: 6.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.736e-05/0.1424, allocations: 45.69 kB / 0.562 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.1425, allocations: 27.89 kB / 0.562 GB, free: 6.133 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.1429, allocations: 177.6 kB / 0.5622 GB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1429, allocations: 0 / 0.5622 GB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.1429, allocations: 8 kB / 0.5622 GB, free: 5.945 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.1429, allocations: 4 kB / 0.5622 GB, free: 5.941 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.1434, allocations: 191.8 kB / 0.5624 GB, free: 5.754 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.1447, allocations: 0.9264 MB / 0.5633 GB, free: 4.703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.1452, allocations: 178.5 kB / 0.5635 GB, free: 4.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006013/0.1458, allocations: 0.522 MB / 0.564 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1458, allocations: 38.56 kB / 0.564 GB, free: 3.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.1458, allocations: 0 / 0.564 GB, free: 3.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006716/0.1465, allocations: 249.1 kB / 0.5643 GB, free: 3.594 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.1465, allocations: 55.41 kB / 0.5643 GB, free: 3.527 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1467, allocations: 161.7 kB / 0.5645 GB, free: 3.363 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.1467, allocations: 29.7 kB / 0.5645 GB, free: 3.328 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.144e-05/0.1468, allocations: 115.8 kB / 0.5646 GB, free: 3.211 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.1468, allocations: 47.36 kB / 0.5647 GB, free: 3.164 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.1468, allocations: 3.938 kB / 0.5647 GB, free: 3.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.1469, allocations: 330.8 kB / 0.565 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.1471, allocations: 79.95 kB / 0.5651 GB, free: 2.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.1474, allocations: 99.38 kB / 0.5652 GB, free: 2.648 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.1476, allocations: 69.88 kB / 0.5652 GB, free: 2.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1476, allocations: 0 / 0.5652 GB, free: 2.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004842/0.1481, allocations: 221.3 kB / 0.5654 GB, free: 2.359 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1481, allocations: 4 kB / 0.5654 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1481, allocations: 4 kB / 0.5654 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.1481, allocations: 4.031 kB / 0.5654 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.1484, allocations: 39.97 kB / 0.5655 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1484, allocations: 4 kB / 0.5655 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.1486, allocations: 27.77 kB / 0.5655 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.1486, allocations: 8 kB / 0.5655 GB, free: 2.27 MB / 430.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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.995e-05/0.1487, allocations: 133.7 kB / 0.5656 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.1487, allocations: 19.81 kB / 0.5657 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005174/0.1493, allocations: 198.4 kB / 0.5659 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1493, allocations: 4 kB / 0.5659 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1493, allocations: 0 / 0.5659 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1493, allocations: 3.938 kB / 0.5659 GB, free: 1.902 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.1506, allocations: 0.9871 MB / 0.5668 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1506, allocations: 4 kB / 0.5668 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.1508, allocations: 31.97 kB / 0.5669 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1509, allocations: 0 / 0.5669 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.1509, allocations: 7.938 kB / 0.5669 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.1509, allocations: 8.016 kB / 0.5669 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1509, allocations: 0 / 0.5669 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.1514, allocations: 324.5 kB / 0.5672 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.1515, allocations: 100.8 kB / 0.5673 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.1515, allocations: 7.984 kB / 0.5673 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.1517, allocations: 15.92 kB / 0.5673 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.1518, allocations: 15.98 kB / 0.5673 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.1518, allocations: 8 kB / 0.5673 GB, free: 200 kB / 430.1 MB Notification: Performance of sorting global known variables: time 7.359e-05/0.1519, allocations: 115.2 kB / 0.5674 GB, free: 84 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1519, allocations: 0 / 0.5674 GB, free: 84 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004294/0.1523, allocations: 124 kB / 0.5676 GB, free: 15.96 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003785/0.1527, allocations: 227.6 kB / 0.5678 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004642/0.1532, allocations: 185.7 kB / 0.5679 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1532, allocations: 8.062 kB / 0.568 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.1534, allocations: 79.91 kB / 0.568 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.1537, allocations: 51.98 kB / 0.5681 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.1543, allocations: 367.2 kB / 0.5684 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.1545, allocations: 0.7205 MB / 0.5691 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.1547, allocations: 26.14 kB / 0.5692 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.1547, allocations: 27.42 kB / 0.5692 GB, free: 14.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1548, allocations: 4 kB / 0.5692 GB, free: 14.22 MB / 446.1 MB Notification: Performance of Templates: time 0.006904/0.1617, allocations: 4.04 MB / 0.5731 GB, free: 10.24 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)