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.001316/0.001316, allocations: 108.3 kB / 16.41 MB, free: 6.469 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.001384/0.001384, allocations: 189.2 kB / 17.34 MB, free: 5.75 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.227/1.227, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7066/0.7066, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 67.23 kB / 0.568 GB, free: 28.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1293, allocations: 77.93 MB / 0.6441 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003093/0.1324, allocations: 1.981 MB / 0.646 GB, free: 7.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.1348, allocations: 1.667 MB / 0.6476 GB, free: 5.898 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.705e-05/0.1349, allocations: 4 kB / 0.6476 GB, free: 5.895 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.354e-05/0.135, allocations: 19.78 kB / 0.6476 GB, free: 5.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.1352, allocations: 55.48 kB / 0.6477 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.1362, allocations: 354.8 kB / 0.648 GB, free: 5.473 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.1365, allocations: 223.1 kB / 0.6483 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.1366, allocations: 49.47 kB / 0.6483 GB, free: 5.203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1367, allocations: 71.84 kB / 0.6484 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.1369, allocations: 95.66 kB / 0.6485 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.137, allocations: 20 kB / 0.6485 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007548/0.1377, allocations: 411.5 kB / 0.6489 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.1378, allocations: 39.89 kB / 0.6489 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.385e-05/0.1379, allocations: 91.59 kB / 0.649 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000547/0.1384, allocations: 426.9 kB / 0.6494 GB, free: 4.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1384, allocations: 0 / 0.6494 GB, free: 4.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1384, allocations: 0 / 0.6494 GB, free: 4.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1385, allocations: 4 kB / 0.6494 GB, free: 4.066 MB / 494.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.0007478/0.1392, allocations: 0.5218 MB / 0.6499 GB, free: 3.488 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1393, allocations: 12.56 kB / 0.6499 GB, free: 3.477 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.375e-05/0.1393, allocations: 46.73 kB / 0.65 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005461/0.1399, allocations: 100.7 kB / 0.6501 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.14, allocations: 180.2 kB / 0.6502 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-05/0.1401, allocations: 46.25 kB / 0.6503 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.1401, allocations: 20.36 kB / 0.6503 GB, free: 3.039 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.1405, allocations: 193.7 kB / 0.6505 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1405, allocations: 0 / 0.6505 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.1405, allocations: 8 kB / 0.6505 GB, free: 2.836 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1406, allocations: 4 kB / 0.6505 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.141, allocations: 183.8 kB / 0.6507 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.1422, allocations: 0.9191 MB / 0.6516 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.1427, allocations: 162.6 kB / 0.6517 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.1429, allocations: 84.81 kB / 0.6518 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005657/0.1435, allocations: 0.5181 MB / 0.6523 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.1435, allocations: 30.56 kB / 0.6523 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1435, allocations: 0 / 0.6523 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006867/0.1442, allocations: 239.4 kB / 0.6526 GB, free: 456 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.1442, allocations: 55.39 kB / 0.6526 GB, free: 388 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1444, allocations: 158.9 kB / 0.6528 GB, free: 220 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1444, allocations: 29.7 kB / 0.6528 GB, free: 184 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.1445, allocations: 127.9 kB / 0.6529 GB, free: 52 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.1445, allocations: 43.58 kB / 0.653 GB, free: 8 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-05/0.1446, allocations: 45.73 kB / 0.653 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1447, allocations: 322.8 kB / 0.6533 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.1449, allocations: 75.95 kB / 0.6534 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.1451, allocations: 99.5 kB / 0.6535 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.1455, allocations: 154.5 kB / 0.6536 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1455, allocations: 0 / 0.6536 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004735/0.146, allocations: 219.3 kB / 0.6538 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.146, allocations: 8 kB / 0.6539 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.146, allocations: 3.984 kB / 0.6539 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1461, allocations: 4.031 kB / 0.6539 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.1463, allocations: 35.97 kB / 0.6539 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1463, allocations: 4 kB / 0.6539 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.1465, allocations: 23.88 kB / 0.6539 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.1465, allocations: 4 kB / 0.6539 GB, free: 15 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.0001084/0.1466, allocations: 130.6 kB / 0.654 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.1467, allocations: 15.91 kB / 0.6541 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.1472, allocations: 194.4 kB / 0.6542 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1472, allocations: 4 kB / 0.6543 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1472, allocations: 0 / 0.6543 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1472, allocations: 0 / 0.6543 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.1486, allocations: 0.9932 MB / 0.6552 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1486, allocations: 0 / 0.6552 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.1488, allocations: 32.05 kB / 0.6553 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1488, allocations: 0 / 0.6553 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1489, allocations: 3.984 kB / 0.6553 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1489, allocations: 8 kB / 0.6553 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1489, allocations: 0 / 0.6553 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004878/0.1494, allocations: 295.5 kB / 0.6555 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.1494, allocations: 89.02 kB / 0.6556 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.1495, allocations: 8 kB / 0.6556 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.1497, allocations: 19.95 kB / 0.6557 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.1497, allocations: 15.92 kB / 0.6557 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.1498, allocations: 4 kB / 0.6557 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.225e-05/0.1498, allocations: 122.3 kB / 0.6558 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1499, allocations: 4 kB / 0.6558 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004288/0.1503, allocations: 127.5 kB / 0.6559 GB, free: 12.75 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.001002/0.1513, allocations: 0.94 MB / 0.6568 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004566/0.1518, allocations: 179.9 kB / 0.657 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1518, allocations: 0 / 0.657 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.152, allocations: 84 kB / 0.6571 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.1524, allocations: 42.02 kB / 0.6571 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.1549, allocations: 2.073 MB / 0.6592 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.1552, allocations: 0.7086 MB / 0.6598 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001332/0.1553, allocations: 32.55 kB / 0.6599 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.498e-05/0.1554, allocations: 43.42 kB / 0.6599 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1554, allocations: 0 / 0.6599 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.1767, allocations: 6.049 MB / 0.6658 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/7.662, allocations: 2.656 kB / 0.6658 GB, free: 2.625 MB / 0.4981 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)