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.001697/0.001697, allocations: 101.8 kB / 16.4 MB, free: 6.461 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.001819/0.001819, allocations: 196 kB / 17.34 MB, free: 5.715 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: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7755/0.7755, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 64.66 kB / 0.5735 GB, free: 26.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1387, allocations: 78.88 MB / 0.6506 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00308/0.1418, allocations: 1.994 MB / 0.6525 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.1443, allocations: 1.663 MB / 0.6541 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.1443, allocations: 4 kB / 0.6541 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.886e-05/0.1444, allocations: 11.86 kB / 0.6541 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.1445, allocations: 55.48 kB / 0.6542 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009547/0.1455, allocations: 358.8 kB / 0.6545 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.1457, allocations: 227.1 kB / 0.6548 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.1459, allocations: 45.47 kB / 0.6548 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.146, allocations: 79.83 kB / 0.6549 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1462, allocations: 91.67 kB / 0.655 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.1462, allocations: 20 kB / 0.655 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007731/0.147, allocations: 415.5 kB / 0.6554 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.1471, allocations: 35.91 kB / 0.6554 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.939e-05/0.1472, allocations: 91.64 kB / 0.6555 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006196/0.1478, allocations: 430.8 kB / 0.6559 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1478, allocations: 0 / 0.6559 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1478, allocations: 4 kB / 0.6559 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1478, allocations: 0 / 0.6559 GB, free: 14.09 MB / 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.0008217/0.1487, allocations: 0.5218 MB / 0.6564 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1487, allocations: 8.031 kB / 0.6564 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.985e-05/0.1488, allocations: 54.67 kB / 0.6565 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000558/0.1493, allocations: 92.73 kB / 0.6566 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.1495, allocations: 180.2 kB / 0.6567 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-05/0.1496, allocations: 50.25 kB / 0.6568 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.1496, allocations: 19.94 kB / 0.6568 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.15, allocations: 190.6 kB / 0.657 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.15, allocations: 0 / 0.657 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.1501, allocations: 8 kB / 0.657 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1501, allocations: 4 kB / 0.657 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004589/0.1506, allocations: 179.8 kB / 0.6572 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.152, allocations: 0.9188 MB / 0.6581 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005409/0.1526, allocations: 170.5 kB / 0.6582 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.1528, allocations: 76.83 kB / 0.6583 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007045/0.1535, allocations: 0.5259 MB / 0.6588 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1535, allocations: 30.56 kB / 0.6589 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.1535, allocations: 0 / 0.6589 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007192/0.1543, allocations: 239.1 kB / 0.6591 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.1543, allocations: 51.41 kB / 0.6591 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.1545, allocations: 162.3 kB / 0.6593 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.1545, allocations: 29.7 kB / 0.6593 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.475e-05/0.1546, allocations: 119.9 kB / 0.6594 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.1547, allocations: 51.52 kB / 0.6595 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.1547, allocations: 45.7 kB / 0.6595 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1549, allocations: 322.8 kB / 0.6598 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.1551, allocations: 71.95 kB / 0.6599 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.1554, allocations: 97.62 kB / 0.66 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.1558, allocations: 159.6 kB / 0.6601 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1558, allocations: 3.938 kB / 0.6601 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005166/0.1563, allocations: 211.4 kB / 0.6604 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1564, allocations: 8 kB / 0.6604 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1564, allocations: 0 / 0.6604 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1564, allocations: 0 / 0.6604 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.1566, allocations: 43.94 kB / 0.6604 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.1567, allocations: 4 kB / 0.6604 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.1568, allocations: 27.83 kB / 0.6604 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1569, allocations: 4 kB / 0.6604 GB, free: 9.031 MB / 0.4981 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.0001239/0.157, allocations: 129.8 kB / 0.6606 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.157, allocations: 7.953 kB / 0.6606 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005343/0.1576, allocations: 197.4 kB / 0.6608 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.1576, allocations: 7.984 kB / 0.6608 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1576, allocations: 0 / 0.6608 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1576, allocations: 0 / 0.6608 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.1591, allocations: 0.9817 MB / 0.6617 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1591, allocations: 0 / 0.6617 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.1593, allocations: 31.97 kB / 0.6618 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1593, allocations: 8 kB / 0.6618 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.1593, allocations: 12 kB / 0.6618 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-05/0.1594, allocations: 3.938 kB / 0.6618 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1594, allocations: 0 / 0.6618 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.1599, allocations: 289.1 kB / 0.662 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.16, allocations: 89.05 kB / 0.6621 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.1601, allocations: 4 kB / 0.6621 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.1603, allocations: 19.92 kB / 0.6622 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.1603, allocations: 7.984 kB / 0.6622 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.1604, allocations: 15.92 kB / 0.6622 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001068/0.1605, allocations: 119.2 kB / 0.6623 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1605, allocations: 4 kB / 0.6623 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004649/0.161, allocations: 131.5 kB / 0.6624 GB, free: 6.785 MB / 0.4981 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.001212/0.1622, allocations: 0.94 MB / 0.6633 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000523/0.1627, allocations: 187.8 kB / 0.6635 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1627, allocations: 0 / 0.6635 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.1629, allocations: 79.91 kB / 0.6636 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.1634, allocations: 49.77 kB / 0.6636 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.1663, allocations: 2.056 MB / 0.6657 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1667, allocations: 0.7164 MB / 0.6664 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000149/0.1668, allocations: 33.41 kB / 0.6664 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.1669, allocations: 43.42 kB / 0.6664 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1669, allocations: 0 / 0.6664 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.1945, allocations: 6.036 MB / 0.6723 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/7.956, allocations: 8.25 kB / 0.6723 GB, free: 12.67 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)