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.001114/0.001114, allocations: 104.2 kB / 16.4 MB, free: 6.508 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.001128/0.001128, allocations: 192 kB / 17.34 MB, free: 5.738 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.262/1.262, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7121/0.7121, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 64.06 kB / 0.5679 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1337, allocations: 77.93 MB / 0.6441 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002731/0.1365, allocations: 2.004 MB / 0.646 GB, free: 7.547 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1385, allocations: 1.652 MB / 0.6476 GB, free: 5.887 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.1386, allocations: 4 kB / 0.6476 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.47e-05/0.1387, allocations: 27.78 kB / 0.6477 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.405e-05/0.1388, allocations: 51.55 kB / 0.6477 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008281/0.1396, allocations: 358.8 kB / 0.648 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.1398, allocations: 219 kB / 0.6483 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1399, allocations: 57.44 kB / 0.6483 GB, free: 5.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.864e-05/0.14, allocations: 79.83 kB / 0.6484 GB, free: 5.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.1402, allocations: 87.67 kB / 0.6485 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.1402, allocations: 20 kB / 0.6485 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006477/0.1408, allocations: 415.5 kB / 0.6489 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.1409, allocations: 43.89 kB / 0.6489 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.179e-05/0.141, allocations: 83.66 kB / 0.649 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.1415, allocations: 426.9 kB / 0.6494 GB, free: 4.047 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1415, allocations: 4 kB / 0.6494 GB, free: 4.043 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1415, allocations: 7.938 kB / 0.6494 GB, free: 4.035 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1415, allocations: 0 / 0.6494 GB, free: 4.035 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.0007196/0.1422, allocations: 0.5218 MB / 0.6499 GB, free: 3.457 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1423, allocations: 8.625 kB / 0.6499 GB, free: 3.449 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.1423, allocations: 46.73 kB / 0.65 GB, free: 3.395 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005342/0.1429, allocations: 100.6 kB / 0.6501 GB, free: 3.297 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.143, allocations: 184.2 kB / 0.6503 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.741e-05/0.1431, allocations: 42.27 kB / 0.6503 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.1431, allocations: 16.38 kB / 0.6503 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.1435, allocations: 189.7 kB / 0.6505 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1435, allocations: 0 / 0.6505 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.1435, allocations: 4 kB / 0.6505 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1435, allocations: 4 kB / 0.6505 GB, free: 2.816 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.144, allocations: 183.8 kB / 0.6507 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.1452, allocations: 0.9152 MB / 0.6516 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.1457, allocations: 170.6 kB / 0.6517 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.1459, allocations: 80.81 kB / 0.6518 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005797/0.1464, allocations: 0.522 MB / 0.6523 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1465, allocations: 34.5 kB / 0.6524 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.1465, allocations: 0 / 0.6524 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006704/0.1472, allocations: 229.5 kB / 0.6526 GB, free: 440 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.1472, allocations: 55.41 kB / 0.6526 GB, free: 372 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.1473, allocations: 167.7 kB / 0.6528 GB, free: 196 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1474, allocations: 29.7 kB / 0.6528 GB, free: 160 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.1474, allocations: 115.9 kB / 0.6529 GB, free: 40 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.1475, allocations: 51.56 kB / 0.653 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.799e-05/0.1476, allocations: 45.66 kB / 0.653 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.17e-05/0.1477, allocations: 318.8 kB / 0.6533 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.1479, allocations: 75.95 kB / 0.6534 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.1481, allocations: 101.6 kB / 0.6535 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.1484, allocations: 148.4 kB / 0.6536 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1485, allocations: 3.938 kB / 0.6536 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004655/0.1489, allocations: 225.4 kB / 0.6538 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.149, allocations: 4 kB / 0.6539 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.149, allocations: 0 / 0.6539 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.149, allocations: 0 / 0.6539 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.1492, allocations: 39.97 kB / 0.6539 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1492, allocations: 4 kB / 0.6539 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.1494, allocations: 27.91 kB / 0.6539 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.1494, allocations: 4 kB / 0.6539 GB, free: 14.98 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 9.934e-05/0.1495, allocations: 133.7 kB / 0.6541 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.1496, allocations: 11.91 kB / 0.6541 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.1501, allocations: 204.5 kB / 0.6543 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1501, allocations: 4 kB / 0.6543 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1501, allocations: 3.984 kB / 0.6543 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1501, allocations: 0 / 0.6543 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.1514, allocations: 0.9817 MB / 0.6552 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1514, allocations: 0 / 0.6552 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.1516, allocations: 31.98 kB / 0.6553 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1516, allocations: 0 / 0.6553 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1516, allocations: 7.984 kB / 0.6553 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1516, allocations: 0 / 0.6553 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1517, allocations: 4 kB / 0.6553 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.1521, allocations: 289.1 kB / 0.6555 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.1522, allocations: 89.02 kB / 0.6556 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.1522, allocations: 8 kB / 0.6556 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.1524, allocations: 19.97 kB / 0.6557 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.1525, allocations: 11.92 kB / 0.6557 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1525, allocations: 8 kB / 0.6557 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.152e-05/0.1526, allocations: 121.9 kB / 0.6558 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1526, allocations: 0 / 0.6558 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003931/0.153, allocations: 127.5 kB / 0.6559 GB, free: 12.73 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.0009319/0.1539, allocations: 0.9478 MB / 0.6568 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004506/0.1544, allocations: 173.4 kB / 0.657 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1544, allocations: 4.062 kB / 0.657 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.1546, allocations: 87.83 kB / 0.6571 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.155, allocations: 43.91 kB / 0.6571 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.1575, allocations: 2.073 MB / 0.6592 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.1577, allocations: 0.7164 MB / 0.6599 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.1579, allocations: 27.55 kB / 0.6599 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.158, allocations: 43.42 kB / 0.6599 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.158, allocations: 0 / 0.6599 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.1784, allocations: 6.058 MB / 0.6658 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/7.733, allocations: 13.06 kB / 0.6659 GB, free: 2.598 MB / 0.4981 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)