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.0009785/0.0009785, allocations: 88.17 kB / 15.7 MB, free: 460 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.001168/0.001168, allocations: 177.7 kB / 16.58 MB, free: 6.855 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.348/1.348, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7012/0.7012, allocations: 115.5 MB / 407.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 8 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1411, allocations: 77.53 MB / 0.5593 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002043/0.1431, allocations: 1.664 MB / 0.561 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.1452, allocations: 1.544 MB / 0.5625 GB, free: 6.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.1453, allocations: 0 / 0.5625 GB, free: 6.184 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.1453, allocations: 15.86 kB / 0.5625 GB, free: 6.168 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.835e-05/0.1455, allocations: 47.61 kB / 0.5625 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007967/0.1463, allocations: 267.2 kB / 0.5628 GB, free: 5.859 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.1465, allocations: 199.2 kB / 0.563 GB, free: 5.664 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1466, allocations: 52.86 kB / 0.563 GB, free: 5.609 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.5e-05/0.1467, allocations: 71.78 kB / 0.5631 GB, free: 5.539 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.1469, allocations: 75.73 kB / 0.5632 GB, free: 5.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.1469, allocations: 12 kB / 0.5632 GB, free: 5.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007472/0.1477, allocations: 379.5 kB / 0.5635 GB, free: 5.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.1477, allocations: 27.91 kB / 0.5636 GB, free: 5.055 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.1478, allocations: 53.64 kB / 0.5636 GB, free: 4.996 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.1482, allocations: 319.5 kB / 0.5639 GB, free: 4.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1482, allocations: 0 / 0.5639 GB, free: 4.684 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1482, allocations: 0 / 0.5639 GB, free: 4.684 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1482, allocations: 0 / 0.5639 GB, free: 4.684 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.000832/0.149, allocations: 499 kB / 0.5644 GB, free: 4.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1491, allocations: 8.031 kB / 0.5644 GB, free: 4.137 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005589/0.1497, allocations: 107.7 kB / 0.5645 GB, free: 4.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1498, allocations: 182.8 kB / 0.5647 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.198e-05/0.1499, allocations: 45.69 kB / 0.5647 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.1499, allocations: 19.95 kB / 0.5647 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.1504, allocations: 177.6 kB / 0.5649 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1504, allocations: 0 / 0.5649 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.1504, allocations: 8 kB / 0.5649 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1504, allocations: 4 kB / 0.5649 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004508/0.1509, allocations: 187.9 kB / 0.5651 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.1523, allocations: 0.9148 MB / 0.566 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/0.1528, allocations: 182.5 kB / 0.5662 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.153, allocations: 81.08 kB / 0.5662 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006028/0.1536, allocations: 0.5337 MB / 0.5668 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1537, allocations: 30.56 kB / 0.5668 GB, free: 1.375 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 9.468e-06/0.1537, allocations: 0 / 0.5668 GB, free: 1.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.00067/0.1544, allocations: 249.4 kB / 0.567 GB, free: 1.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.1544, allocations: 55.41 kB / 0.5671 GB, free: 1.059 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.1546, allocations: 162.7 kB / 0.5672 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1546, allocations: 25.7 kB / 0.5673 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.1547, allocations: 123.8 kB / 0.5674 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.1547, allocations: 39.36 kB / 0.5674 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.1547, allocations: 8 kB / 0.5674 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002351/0.155, allocations: 326.8 kB / 0.5677 GB, free: 372 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.1552, allocations: 79.95 kB / 0.5678 GB, free: 292 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.1554, allocations: 97.67 kB / 0.5679 GB, free: 188 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.1556, allocations: 77.97 kB / 0.568 GB, free: 112 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1556, allocations: 0 / 0.568 GB, free: 112 kB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004868/0.1561, allocations: 221.4 kB / 0.5682 GB, free: 15.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1562, allocations: 4 kB / 0.5682 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1562, allocations: 3.984 kB / 0.5682 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1562, allocations: 4 kB / 0.5682 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.1564, allocations: 39.91 kB / 0.5682 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1564, allocations: 4 kB / 0.5682 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.1566, allocations: 31.81 kB / 0.5683 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.1566, allocations: 7.984 kB / 0.5683 GB, free: 15.79 MB / 446.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 0.0001124/0.1568, allocations: 133.7 kB / 0.5684 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.1568, allocations: 15.81 kB / 0.5684 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005054/0.1573, allocations: 202.4 kB / 0.5686 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1573, allocations: 4 kB / 0.5686 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1573, allocations: 4 kB / 0.5686 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1574, allocations: 0 / 0.5686 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.1587, allocations: 0.9817 MB / 0.5696 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1587, allocations: 4.062 kB / 0.5696 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.1589, allocations: 39.91 kB / 0.5696 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.159, allocations: 0 / 0.5696 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.159, allocations: 4 kB / 0.5696 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.159, allocations: 3.953 kB / 0.5696 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.159, allocations: 0 / 0.5696 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.1595, allocations: 299.5 kB / 0.5699 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/0.1596, allocations: 100.8 kB / 0.57 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.1596, allocations: 4 kB / 0.57 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.1598, allocations: 23.97 kB / 0.57 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.1599, allocations: 15.94 kB / 0.5701 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1599, allocations: 4 kB / 0.5701 GB, free: 13.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.928e-05/0.16, allocations: 119.2 kB / 0.5702 GB, free: 13.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.16, allocations: 0 / 0.5702 GB, free: 13.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004427/0.1604, allocations: 131.9 kB / 0.5703 GB, free: 13.52 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.0004142/0.1608, allocations: 219 kB / 0.5705 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004704/0.1613, allocations: 183.9 kB / 0.5707 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1613, allocations: 0 / 0.5707 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.1615, allocations: 87.89 kB / 0.5708 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.1619, allocations: 41.84 kB / 0.5708 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006315/0.1626, allocations: 381.5 kB / 0.5712 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.1628, allocations: 0.7088 MB / 0.5719 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001624/0.163, allocations: 31 kB / 0.5719 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.1631, allocations: 27.42 kB / 0.5719 GB, free: 11.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1631, allocations: 0 / 0.5719 GB, free: 11.8 MB / 446.1 MB Notification: Performance of Templates: time 0.007609/0.1707, allocations: 4.048 MB / 0.5759 GB, free: 7.809 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)