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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 97.28 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.001467/0.001467, allocations: 179.7 kB / 16.57 MB, free: 6.859 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.335/1.335, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6589/0.6589, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003465, allocations: 8 kB / 493 MB, free: 8.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1585, allocations: 77.11 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002057/0.1606, allocations: 1.599 MB / 0.5583 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.1627, allocations: 1.462 MB / 0.5597 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.1628, allocations: 0 / 0.5597 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.77e-05/0.1629, allocations: 19.84 kB / 0.5597 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.303e-05/0.1629, allocations: 47.88 kB / 0.5598 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009326/0.1639, allocations: 275.2 kB / 0.56 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1641, allocations: 143.7 kB / 0.5602 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.1643, allocations: 37.66 kB / 0.5602 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.41e-05/0.1644, allocations: 63.84 kB / 0.5603 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.1645, allocations: 75.73 kB / 0.5603 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.1646, allocations: 11.94 kB / 0.5604 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000726/0.1653, allocations: 391.5 kB / 0.5607 GB, free: 7.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.1653, allocations: 31.84 kB / 0.5608 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.1654, allocations: 57.64 kB / 0.5608 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004312/0.1658, allocations: 311.5 kB / 0.5611 GB, free: 7.191 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1658, allocations: 0 / 0.5611 GB, free: 7.191 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1659, allocations: 0 / 0.5611 GB, free: 7.191 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1659, allocations: 0 / 0.5611 GB, free: 7.191 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.0008678/0.1667, allocations: 495.1 kB / 0.5616 GB, free: 6.656 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1668, allocations: 8.031 kB / 0.5616 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.64e-05/0.1669, allocations: 54.55 kB / 0.5616 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005899/0.1675, allocations: 103.7 kB / 0.5617 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1676, allocations: 178.8 kB / 0.5619 GB, free: 6.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.575e-05/0.1677, allocations: 45.69 kB / 0.562 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.1677, allocations: 27.95 kB / 0.562 GB, free: 6.191 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.1682, allocations: 173.6 kB / 0.5622 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1682, allocations: 0 / 0.5622 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.1682, allocations: 8 kB / 0.5622 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1682, allocations: 4 kB / 0.5622 GB, free: 6.004 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.1687, allocations: 191.8 kB / 0.5623 GB, free: 5.816 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.1702, allocations: 0.9264 MB / 0.5632 GB, free: 4.766 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.1707, allocations: 182.5 kB / 0.5634 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006256/0.1714, allocations: 0.5181 MB / 0.5639 GB, free: 3.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.1714, allocations: 34.56 kB / 0.564 GB, free: 3.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.492e-06/0.1714, allocations: 0 / 0.564 GB, free: 3.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008968/0.1723, allocations: 245.8 kB / 0.5642 GB, free: 3.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.1724, allocations: 55.41 kB / 0.5642 GB, free: 3.594 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.1726, allocations: 159.4 kB / 0.5644 GB, free: 3.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.1727, allocations: 33.7 kB / 0.5644 GB, free: 3.391 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.16e-05/0.1728, allocations: 119.8 kB / 0.5645 GB, free: 3.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.1728, allocations: 43.36 kB / 0.5646 GB, free: 3.227 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.775e-05/0.1729, allocations: 4 kB / 0.5646 GB, free: 3.223 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.173, allocations: 326.8 kB / 0.5649 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.1733, allocations: 79.89 kB / 0.565 GB, free: 2.816 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.1737, allocations: 99.73 kB / 0.5651 GB, free: 2.715 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.174, allocations: 71.97 kB / 0.5651 GB, free: 2.645 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.174, allocations: 0 / 0.5651 GB, free: 2.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006826/0.1747, allocations: 226.9 kB / 0.5654 GB, free: 2.418 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1748, allocations: 4 kB / 0.5654 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1748, allocations: 0 / 0.5654 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1748, allocations: 4 kB / 0.5654 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.1751, allocations: 35.97 kB / 0.5654 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1751, allocations: 8.031 kB / 0.5654 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.1753, allocations: 31.72 kB / 0.5654 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.1753, allocations: 7.984 kB / 0.5654 GB, free: 2.328 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 0.0001378/0.1754, allocations: 137.8 kB / 0.5656 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.1755, allocations: 15.81 kB / 0.5656 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.176, allocations: 197.8 kB / 0.5658 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.176, allocations: 7.938 kB / 0.5658 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.176, allocations: 0 / 0.5658 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1761, allocations: 3.984 kB / 0.5658 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.1777, allocations: 0.9935 MB / 0.5668 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1777, allocations: 0 / 0.5668 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.1779, allocations: 31.97 kB / 0.5668 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1779, allocations: 0 / 0.5668 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1779, allocations: 4 kB / 0.5668 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1779, allocations: 7.953 kB / 0.5668 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1779, allocations: 0 / 0.5668 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.1784, allocations: 316.5 kB / 0.5671 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.1785, allocations: 108.7 kB / 0.5672 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.1785, allocations: 8 kB / 0.5672 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.1788, allocations: 19.91 kB / 0.5672 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.1788, allocations: 15.98 kB / 0.5673 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.1788, allocations: 4 kB / 0.5673 GB, free: 260 kB / 430.1 MB Notification: Performance of sorting global known variables: time 8.245e-05/0.1789, allocations: 117.1 kB / 0.5674 GB, free: 144 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1789, allocations: 0 / 0.5674 GB, free: 144 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004764/0.1794, allocations: 131.9 kB / 0.5675 GB, free: 12 kB / 430.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.001222/0.1807, allocations: 1.109 MB / 0.5686 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005079/0.1812, allocations: 179.9 kB / 0.5688 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1812, allocations: 3.938 kB / 0.5688 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.1814, allocations: 94.8 kB / 0.5688 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1817, allocations: 28.11 kB / 0.5689 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.1837, allocations: 1.194 MB / 0.57 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.184, allocations: 0.7166 MB / 0.5707 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.1841, allocations: 30.39 kB / 0.5708 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.1842, allocations: 47.42 kB / 0.5708 GB, free: 12.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1842, allocations: 0 / 0.5708 GB, free: 12.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1715/0.3557, allocations: 5.594 MB / 0.5763 GB, free: 7.129 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.356, allocations: 197.3 kB / 0.5765 GB, free: 6.891 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.527, allocations: 3.938 kB / 0.5765 GB, free: 6.887 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) Environment - environmentSimulation: