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.004463/0.004463, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001223/0.001223, allocations: 202 kB / 16.68 MB, free: 5.977 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9315/0.9315, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002059, allocations: 71.89 kB / 0.5857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.395, allocations: 81.02 MB / 0.6649 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002688/0.3978, allocations: 2.01 MB / 0.6668 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.3998, allocations: 1.663 MB / 0.6685 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.145e-05/0.3999, allocations: 1.375 kB / 0.6685 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.204e-05/0.4, allocations: 22.62 kB / 0.6685 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.527e-05/0.4001, allocations: 48.78 kB / 0.6685 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008076/0.4009, allocations: 349.9 kB / 0.6689 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.4011, allocations: 225.6 kB / 0.6691 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.4012, allocations: 56.05 kB / 0.6691 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.41e-05/0.4013, allocations: 77.3 kB / 0.6692 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.4015, allocations: 93.14 kB / 0.6693 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.4015, allocations: 21.44 kB / 0.6693 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000643/0.4022, allocations: 412.3 kB / 0.6697 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.492e-05/0.4022, allocations: 41.09 kB / 0.6697 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.885e-05/0.4023, allocations: 85.47 kB / 0.6698 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005065/0.4028, allocations: 437.4 kB / 0.6702 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.4028, allocations: 0 / 0.6702 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4028, allocations: 1.156 kB / 0.6702 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.4028, allocations: 0 / 0.6702 GB, free: 2.789 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.0006784/0.4035, allocations: 0.5218 MB / 0.6708 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4036, allocations: 9.906 kB / 0.6708 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.4036, allocations: 51.92 kB / 0.6708 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000557/0.4042, allocations: 90.52 kB / 0.6709 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.488e-05/0.4043, allocations: 181.6 kB / 0.6711 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.71e-05/0.4043, allocations: 54.06 kB / 0.6711 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.4044, allocations: 17.5 kB / 0.6711 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.4047, allocations: 181.7 kB / 0.6713 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4047, allocations: 0 / 0.6713 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.4048, allocations: 6.844 kB / 0.6713 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4048, allocations: 6.312 kB / 0.6713 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.4052, allocations: 183.2 kB / 0.6715 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.4063, allocations: 0.9162 MB / 0.6724 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.4067, allocations: 171.6 kB / 0.6726 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.4069, allocations: 81.22 kB / 0.6726 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004881/0.4074, allocations: 0.5157 MB / 0.6731 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.4074, allocations: 43.98 kB / 0.6732 GB, free: 24 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.4075, allocations: 1.469 kB / 0.6732 GB, free: 24 kB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007207/0.4082, allocations: 226.8 kB / 0.6734 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.4082, allocations: 53.44 kB / 0.6735 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.4084, allocations: 164.8 kB / 0.6736 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.4084, allocations: 31.08 kB / 0.6736 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.4085, allocations: 121.8 kB / 0.6738 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.4086, allocations: 53 kB / 0.6738 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.406e-05/0.4087, allocations: 39.33 kB / 0.6738 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.4088, allocations: 329.5 kB / 0.6742 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.409, allocations: 71.7 kB / 0.6742 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.4093, allocations: 99.45 kB / 0.6743 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.4097, allocations: 149 kB / 0.6745 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4097, allocations: 0 / 0.6745 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005063/0.4102, allocations: 215.2 kB / 0.6747 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4102, allocations: 9.391 kB / 0.6747 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.4102, allocations: 1.188 kB / 0.6747 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4102, allocations: 1.125 kB / 0.6747 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.4105, allocations: 44.16 kB / 0.6747 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.4105, allocations: 5.266 kB / 0.6747 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.4107, allocations: 28.8 kB / 0.6748 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.4107, allocations: 8.344 kB / 0.6748 GB, free: 14.8 MB / 0.5137 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.0001181/0.4109, allocations: 127.3 kB / 0.6749 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.4109, allocations: 11.42 kB / 0.6749 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.4114, allocations: 198 kB / 0.6751 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.4115, allocations: 6.078 kB / 0.6751 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4115, allocations: 4 kB / 0.6751 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4115, allocations: 0 / 0.6751 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.413, allocations: 0.9861 MB / 0.6761 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.413, allocations: 1.344 kB / 0.6761 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.4132, allocations: 29.67 kB / 0.6761 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4132, allocations: 1.031 kB / 0.6761 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.4132, allocations: 2.406 kB / 0.6761 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.4132, allocations: 9.109 kB / 0.6761 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4133, allocations: 1.312 kB / 0.6761 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.4138, allocations: 289.7 kB / 0.6764 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.759e-05/0.4139, allocations: 84.78 kB / 0.6765 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.4139, allocations: 6.125 kB / 0.6765 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.4142, allocations: 19.81 kB / 0.6765 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.4142, allocations: 21.83 kB / 0.6765 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.4142, allocations: 3.969 kB / 0.6765 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001198/0.4144, allocations: 117.9 kB / 0.6766 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4144, allocations: 0 / 0.6766 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005444/0.4149, allocations: 133.2 kB / 0.6767 GB, free: 13.04 MB / 0.5137 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.001242/0.4162, allocations: 0.9479 MB / 0.6777 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005004/0.4167, allocations: 176.9 kB / 0.6778 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4167, allocations: 0 / 0.6778 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.4169, allocations: 88.45 kB / 0.6779 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.4173, allocations: 41.52 kB / 0.678 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.4203, allocations: 2.065 MB / 0.68 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.4206, allocations: 0.7059 MB / 0.6807 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001466/0.4208, allocations: 31.81 kB / 0.6807 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.4209, allocations: 45.95 kB / 0.6807 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.4209, allocations: 0 / 0.6807 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/0.4483, allocations: 6.032 MB / 0.6866 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/8.193, allocations: 3.906 kB / 0.6866 GB, free: 6.582 MB / 0.5137 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)