Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.001307/0.001307, allocations: 104.6 kB / 16.4 MB, free: 6.465 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.001248/0.001248, allocations: 193.2 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.778/0.778, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 65.25 kB / 0.5735 GB, free: 26.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1362, allocations: 78.87 MB / 0.6505 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003046/0.1393, allocations: 2.006 MB / 0.6525 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.1416, allocations: 1.656 MB / 0.6541 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.1417, allocations: 4 kB / 0.6541 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.734e-05/0.1418, allocations: 27.72 kB / 0.6542 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.1419, allocations: 55.55 kB / 0.6542 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008678/0.1428, allocations: 350.8 kB / 0.6545 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.143, allocations: 219.1 kB / 0.6548 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1431, allocations: 55.33 kB / 0.6548 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.927e-05/0.1432, allocations: 79.83 kB / 0.6549 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.1434, allocations: 91.61 kB / 0.655 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.1434, allocations: 20 kB / 0.655 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000745/0.1442, allocations: 411.6 kB / 0.6554 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.1442, allocations: 43.84 kB / 0.6554 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.69e-05/0.1443, allocations: 87.66 kB / 0.6555 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005636/0.1449, allocations: 434.8 kB / 0.6559 GB, free: 14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1449, allocations: 4 kB / 0.6559 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1449, allocations: 0 / 0.6559 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.1449, allocations: 0 / 0.6559 GB, free: 13.99 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.0007878/0.1457, allocations: 0.5179 MB / 0.6564 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.1458, allocations: 12.03 kB / 0.6564 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.988e-05/0.1458, allocations: 46.73 kB / 0.6565 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005597/0.1464, allocations: 92.73 kB / 0.6566 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1465, allocations: 188.2 kB / 0.6568 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.199e-05/0.1466, allocations: 42.27 kB / 0.6568 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.1466, allocations: 19.94 kB / 0.6568 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.147, allocations: 186.6 kB / 0.657 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1471, allocations: 0 / 0.657 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.1471, allocations: 7.938 kB / 0.657 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1471, allocations: 4 kB / 0.657 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004552/0.1476, allocations: 183.9 kB / 0.6572 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.1489, allocations: 0.9149 MB / 0.6581 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.1494, allocations: 172 kB / 0.6582 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.1496, allocations: 84.75 kB / 0.6583 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006468/0.1503, allocations: 0.5259 MB / 0.6588 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1503, allocations: 30.56 kB / 0.6589 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.1503, allocations: 0 / 0.6589 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006921/0.151, allocations: 237.5 kB / 0.6591 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.1511, allocations: 55.34 kB / 0.6591 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.1512, allocations: 158.5 kB / 0.6593 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1512, allocations: 29.7 kB / 0.6593 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.136e-05/0.1513, allocations: 123.9 kB / 0.6594 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.1514, allocations: 43.58 kB / 0.6595 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.1514, allocations: 41.7 kB / 0.6595 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1516, allocations: 322.8 kB / 0.6598 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.1518, allocations: 79.89 kB / 0.6599 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.152, allocations: 101.6 kB / 0.66 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.1524, allocations: 143.8 kB / 0.6601 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1524, allocations: 4 kB / 0.6601 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005062/0.1529, allocations: 223.3 kB / 0.6604 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.153, allocations: 4 kB / 0.6604 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.153, allocations: 0 / 0.6604 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.153, allocations: 0 / 0.6604 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.1532, allocations: 39.91 kB / 0.6604 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1532, allocations: 4 kB / 0.6604 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.1534, allocations: 27.83 kB / 0.6604 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1535, allocations: 8.031 kB / 0.6604 GB, free: 8.941 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.0001098/0.1536, allocations: 129.8 kB / 0.6606 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.1536, allocations: 7.953 kB / 0.6606 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005118/0.1541, allocations: 197.1 kB / 0.6608 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.1541, allocations: 8 kB / 0.6608 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1542, allocations: 0 / 0.6608 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.1542, allocations: 0 / 0.6608 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.1556, allocations: 0.9856 MB / 0.6617 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1556, allocations: 0 / 0.6617 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.1558, allocations: 31.92 kB / 0.6618 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1558, allocations: 3.984 kB / 0.6618 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1558, allocations: 4 kB / 0.6618 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1558, allocations: 3.938 kB / 0.6618 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1558, allocations: 0 / 0.6618 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.1563, allocations: 289.2 kB / 0.662 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.1564, allocations: 85.06 kB / 0.6621 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.1565, allocations: 8 kB / 0.6621 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.1567, allocations: 23.91 kB / 0.6622 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.1567, allocations: 15.92 kB / 0.6622 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.1567, allocations: 7.938 kB / 0.6622 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.641e-05/0.1568, allocations: 121.3 kB / 0.6623 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1568, allocations: 0 / 0.6623 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004205/0.1573, allocations: 131.5 kB / 0.6624 GB, free: 6.703 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.00108/0.1584, allocations: 0.9512 MB / 0.6633 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004745/0.1588, allocations: 175.8 kB / 0.6635 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1589, allocations: 0 / 0.6635 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.1591, allocations: 92.02 kB / 0.6636 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.1595, allocations: 39.95 kB / 0.6636 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.1622, allocations: 2.08 MB / 0.6657 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.1625, allocations: 0.7126 MB / 0.6664 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.1627, allocations: 32.47 kB / 0.6664 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.1628, allocations: 39.42 kB / 0.6664 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1628, allocations: 4 kB / 0.6664 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.1893, allocations: 6.047 MB / 0.6723 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.065, allocations: 13.97 kB / 0.6724 GB, free: 12.55 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_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_ZeroInput.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)