Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="IDEAS_dev_IDEAS_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.001147/0.001147, allocations: 108 kB / 15.61 MB, free: 152 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.001205/0.001205, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9229/0.9229, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 60.03 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1325, allocations: 80.93 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003057/0.1356, allocations: 2.006 MB / 0.5864 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.1378, allocations: 1.652 MB / 0.5881 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.1379, allocations: 4 kB / 0.5881 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.378e-05/0.138, allocations: 15.8 kB / 0.5881 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.1381, allocations: 55.55 kB / 0.5881 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000946/0.1391, allocations: 354.8 kB / 0.5885 GB, free: 372 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.1393, allocations: 211.2 kB / 0.5887 GB, free: 160 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1394, allocations: 61.39 kB / 0.5887 GB, free: 92 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.596e-05/0.1395, allocations: 83.77 kB / 0.5888 GB, free: 8 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.1397, allocations: 87.8 kB / 0.5889 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.1397, allocations: 19.94 kB / 0.5889 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007179/0.1405, allocations: 403.4 kB / 0.5893 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.1405, allocations: 39.89 kB / 0.5893 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.133e-05/0.1406, allocations: 83.66 kB / 0.5894 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005355/0.1411, allocations: 435.2 kB / 0.5898 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1412, allocations: 0 / 0.5898 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1412, allocations: 0 / 0.5898 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.1412, allocations: 0 / 0.5898 GB, free: 14.96 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.0007552/0.1419, allocations: 0.5164 MB / 0.5903 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.142, allocations: 8.031 kB / 0.5903 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.872e-05/0.142, allocations: 54.73 kB / 0.5904 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005762/0.1426, allocations: 88.64 kB / 0.5905 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1427, allocations: 184.1 kB / 0.5906 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.94e-05/0.1428, allocations: 50.25 kB / 0.5907 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.1428, allocations: 28.06 kB / 0.5907 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.1432, allocations: 177.4 kB / 0.5909 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1433, allocations: 0 / 0.5909 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.1433, allocations: 4 kB / 0.5909 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1433, allocations: 4 kB / 0.5909 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004491/0.1437, allocations: 183.9 kB / 0.5911 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.145, allocations: 0.9149 MB / 0.592 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/0.1455, allocations: 170.6 kB / 0.5921 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.1457, allocations: 76.83 kB / 0.5922 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006282/0.1464, allocations: 0.5259 MB / 0.5927 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.1464, allocations: 30.56 kB / 0.5927 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.1464, allocations: 0 / 0.5927 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007133/0.1471, allocations: 249.2 kB / 0.593 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.1472, allocations: 51.41 kB / 0.593 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.1473, allocations: 157.7 kB / 0.5932 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.1473, allocations: 29.7 kB / 0.5932 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.1474, allocations: 119.7 kB / 0.5933 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.1475, allocations: 43.39 kB / 0.5934 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.142e-05/0.1475, allocations: 41.61 kB / 0.5934 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.474e-05/0.1476, allocations: 326.8 kB / 0.5937 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.1479, allocations: 79.95 kB / 0.5938 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.1481, allocations: 93.62 kB / 0.5939 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.1485, allocations: 147.7 kB / 0.594 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1485, allocations: 11.94 kB / 0.594 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005075/0.149, allocations: 207.9 kB / 0.5942 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.149, allocations: 6.344 kB / 0.5942 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.149, allocations: 4 kB / 0.5942 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1491, allocations: 0 / 0.5942 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.1493, allocations: 39.91 kB / 0.5943 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1493, allocations: 0 / 0.5943 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.1495, allocations: 27.86 kB / 0.5943 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.1495, allocations: 11.98 kB / 0.5943 GB, free: 9.926 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.0001027/0.1497, allocations: 133.7 kB / 0.5944 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.1497, allocations: 15.81 kB / 0.5945 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005308/0.1502, allocations: 198.4 kB / 0.5947 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1503, allocations: 3.984 kB / 0.5947 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1503, allocations: 4 kB / 0.5947 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1503, allocations: 0 / 0.5947 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.1517, allocations: 0.9778 MB / 0.5956 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1517, allocations: 0 / 0.5956 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.1519, allocations: 31.91 kB / 0.5956 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.1519, allocations: 4 kB / 0.5956 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1519, allocations: 0 / 0.5956 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.1519, allocations: 3.938 kB / 0.5957 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.152, allocations: 8.062 kB / 0.5957 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005092/0.1525, allocations: 285 kB / 0.5959 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.1525, allocations: 96.84 kB / 0.596 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.1526, allocations: 12 kB / 0.596 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.1528, allocations: 11.92 kB / 0.596 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.1529, allocations: 15.98 kB / 0.5961 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.1529, allocations: 4 kB / 0.5961 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.183e-05/0.153, allocations: 118.7 kB / 0.5962 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.153, allocations: 3.938 kB / 0.5962 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000437/0.1534, allocations: 123.9 kB / 0.5963 GB, free: 7.688 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.001065/0.1545, allocations: 0.9416 MB / 0.5972 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.155, allocations: 187.8 kB / 0.5974 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.155, allocations: 4.062 kB / 0.5974 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.1552, allocations: 79.91 kB / 0.5975 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.1556, allocations: 47.89 kB / 0.5975 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.1584, allocations: 2.068 MB / 0.5995 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.1586, allocations: 0.7125 MB / 0.6002 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.1588, allocations: 25.17 kB / 0.6003 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.361e-05/0.1589, allocations: 43.41 kB / 0.6003 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1589, allocations: 0 / 0.6003 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2354/0.3943, allocations: 5.98 MB / 0.6061 GB, free: 52.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.373/7.767, allocations: 13 kB / 0.6062 GB, free: 52.41 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)