Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_dev_IDEAS_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.00113/0.00113, 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.001178/0.001178, allocations: 192.8 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.314/1.314, 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.9042/0.9042, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 58.81 kB / 0.5054 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1339, allocations: 80.94 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002862/0.1368, allocations: 1.999 MB / 0.5864 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.139, allocations: 1.656 MB / 0.5881 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.139, allocations: 0 / 0.5881 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.725e-05/0.1391, allocations: 23.78 kB / 0.5881 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.724e-05/0.1392, allocations: 51.55 kB / 0.5881 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008503/0.1401, allocations: 354.8 kB / 0.5885 GB, free: 384 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.1403, allocations: 219.1 kB / 0.5887 GB, free: 164 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1404, allocations: 53.45 kB / 0.5887 GB, free: 104 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.471e-05/0.1405, allocations: 79.78 kB / 0.5888 GB, free: 24 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.1406, allocations: 91.66 kB / 0.5889 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.1407, allocations: 20 kB / 0.5889 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006864/0.1414, allocations: 395.5 kB / 0.5893 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.1414, allocations: 39.91 kB / 0.5893 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.544e-05/0.1415, allocations: 91.64 kB / 0.5894 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005117/0.142, allocations: 427.2 kB / 0.5898 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1421, allocations: 0 / 0.5898 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1421, allocations: 0 / 0.5898 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.1421, allocations: 3.984 kB / 0.5898 GB, free: 14.98 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.0007476/0.1428, allocations: 0.5108 MB / 0.5903 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1429, allocations: 16.03 kB / 0.5903 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.1429, allocations: 46.73 kB / 0.5904 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005771/0.1435, allocations: 92.64 kB / 0.5905 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1436, allocations: 200 kB / 0.5907 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.975e-05/0.1437, allocations: 42.27 kB / 0.5907 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.1437, allocations: 16.12 kB / 0.5907 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003976/0.1441, allocations: 185.4 kB / 0.5909 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.1442, allocations: 0 / 0.5909 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.1442, allocations: 8 kB / 0.5909 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1442, allocations: 4 kB / 0.5909 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.1447, allocations: 175.9 kB / 0.5911 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.1459, allocations: 0.9149 MB / 0.592 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.1465, allocations: 174.6 kB / 0.5921 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.1467, allocations: 84.81 kB / 0.5922 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000616/0.1473, allocations: 0.522 MB / 0.5927 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.1473, allocations: 30.56 kB / 0.5928 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.1473, allocations: 4 kB / 0.5928 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.000701/0.148, allocations: 241.4 kB / 0.593 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1481, allocations: 55.41 kB / 0.593 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.1482, allocations: 158.5 kB / 0.5932 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1482, allocations: 29.7 kB / 0.5932 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.1483, allocations: 119.7 kB / 0.5933 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.1483, allocations: 43.39 kB / 0.5934 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.372e-05/0.1484, allocations: 45.61 kB / 0.5934 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.1485, allocations: 326.8 kB / 0.5937 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.1487, allocations: 79.95 kB / 0.5938 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.149, allocations: 93.62 kB / 0.5939 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.1493, allocations: 147.8 kB / 0.594 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1494, allocations: 0 / 0.594 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004993/0.1499, allocations: 215.7 kB / 0.5942 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1499, allocations: 7.938 kB / 0.5942 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1499, allocations: 0 / 0.5942 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1499, allocations: 0 / 0.5942 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.1502, allocations: 35.97 kB / 0.5943 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1502, allocations: 8.031 kB / 0.5943 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.1504, allocations: 23.83 kB / 0.5943 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1504, allocations: 4 kB / 0.5943 GB, free: 9.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.0001028/0.1505, allocations: 133.7 kB / 0.5944 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.1506, allocations: 11.81 kB / 0.5945 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005203/0.1511, allocations: 198.4 kB / 0.5946 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1511, allocations: 4 kB / 0.5946 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1511, allocations: 0 / 0.5946 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1511, allocations: 3.984 kB / 0.5947 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.1525, allocations: 0.9855 MB / 0.5956 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.1525, allocations: 0 / 0.5956 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.1528, allocations: 31.98 kB / 0.5956 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1528, allocations: 0 / 0.5956 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.1528, allocations: 8.047 kB / 0.5957 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1528, allocations: 7.938 kB / 0.5957 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1528, allocations: 0 / 0.5957 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.1533, allocations: 281 kB / 0.5959 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.1534, allocations: 96.86 kB / 0.596 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.1534, allocations: 8 kB / 0.596 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.1536, allocations: 23.91 kB / 0.5961 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.1537, allocations: 7.984 kB / 0.5961 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.1537, allocations: 11.94 kB / 0.5961 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.816e-05/0.1538, allocations: 119.2 kB / 0.5962 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1538, allocations: 0 / 0.5962 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004089/0.1542, allocations: 123.9 kB / 0.5963 GB, free: 7.695 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.00102/0.1552, allocations: 0.9442 MB / 0.5972 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005183/0.1558, allocations: 183.8 kB / 0.5974 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1558, allocations: 0 / 0.5974 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.156, allocations: 87.83 kB / 0.5975 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.1564, allocations: 48.08 kB / 0.5975 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.1591, allocations: 2.038 MB / 0.5995 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.1594, allocations: 0.7047 MB / 0.6002 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001561/0.1595, allocations: 32.16 kB / 0.6002 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.681e-05/0.1596, allocations: 43.42 kB / 0.6003 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1596, allocations: 0 / 0.6003 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2272/0.3868, allocations: 5.974 MB / 0.6061 GB, free: 52.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.3/7.687, allocations: 12.47 kB / 0.6061 GB, free: 52.21 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)