Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_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.005189/0.005189, allocations: 96.69 kB / 15.73 MB, free: 6.031 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.001508/0.001508, allocations: 196.3 kB / 16.68 MB, free: 5.961 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00241/0.00241, allocations: 287.1 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 178.6 MB / 0.5074 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002656/0.002656, allocations: 102.9 kB / 0.6943 GB, free: 3.566 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.429, allocations: 89.13 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003499/0.4326, allocations: 2.022 MB / 0.7833 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00255/0.4351, allocations: 1.661 MB / 0.7849 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.4352, allocations: 2.281 kB / 0.7849 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.3e-05/0.4353, allocations: 18.86 kB / 0.7849 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.4354, allocations: 49.67 kB / 0.785 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.4365, allocations: 359.1 kB / 0.7853 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.4368, allocations: 223.1 kB / 0.7855 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.4369, allocations: 57.78 kB / 0.7856 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.4371, allocations: 80.64 kB / 0.7857 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.4372, allocations: 88.12 kB / 0.7858 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.4372, allocations: 18.84 kB / 0.7858 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008048/0.4381, allocations: 414.5 kB / 0.7862 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.4381, allocations: 38.25 kB / 0.7862 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.469e-05/0.4382, allocations: 85.48 kB / 0.7863 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006247/0.4389, allocations: 434 kB / 0.7867 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4389, allocations: 1.562 kB / 0.7867 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4389, allocations: 0 / 0.7867 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.4389, allocations: 0 / 0.7867 GB, free: 10.47 MB / 0.5606 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.0008117/0.4397, allocations: 0.5176 MB / 0.7872 GB, free: 10 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.4397, allocations: 9.594 kB / 0.7872 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.688e-05/0.4398, allocations: 51.58 kB / 0.7873 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005443/0.4404, allocations: 90.22 kB / 0.7874 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.4405, allocations: 186.5 kB / 0.7875 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.4406, allocations: 53.22 kB / 0.7876 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.4406, allocations: 14.23 kB / 0.7876 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.4411, allocations: 188.7 kB / 0.7878 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4411, allocations: 0 / 0.7878 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.4411, allocations: 9.312 kB / 0.7878 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.4411, allocations: 4.359 kB / 0.7878 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.4416, allocations: 178.4 kB / 0.788 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.443, allocations: 0.9151 MB / 0.7889 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.4435, allocations: 171.3 kB / 0.789 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.4437, allocations: 78.56 kB / 0.7891 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006661/0.4444, allocations: 0.519 MB / 0.7896 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.4444, allocations: 40.98 kB / 0.7896 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.4444, allocations: 0 / 0.7896 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007577/0.4452, allocations: 234.2 kB / 0.7899 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.4452, allocations: 53.75 kB / 0.7899 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.4454, allocations: 157.5 kB / 0.7901 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.4454, allocations: 32.06 kB / 0.7901 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.4455, allocations: 122.2 kB / 0.7902 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.4456, allocations: 50.67 kB / 0.7903 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-05/0.4457, allocations: 37.86 kB / 0.7903 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.4458, allocations: 330.4 kB / 0.7906 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.4461, allocations: 75.5 kB / 0.7907 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.4463, allocations: 96.45 kB / 0.7908 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.4467, allocations: 157.2 kB / 0.7909 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4467, allocations: 1.062 kB / 0.7909 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004962/0.4472, allocations: 212.5 kB / 0.7911 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.4473, allocations: 5.844 kB / 0.7911 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4473, allocations: 1.125 kB / 0.7911 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4473, allocations: 1.719 kB / 0.7911 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.4475, allocations: 43.59 kB / 0.7912 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.4475, allocations: 4.938 kB / 0.7912 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.4477, allocations: 20.92 kB / 0.7912 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.4478, allocations: 9.422 kB / 0.7912 GB, free: 6.898 MB / 0.5606 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.0001144/0.4479, allocations: 137.4 kB / 0.7913 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.4479, allocations: 14.91 kB / 0.7914 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.4484, allocations: 189.8 kB / 0.7915 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4484, allocations: 1.031 kB / 0.7915 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4485, allocations: 5.641 kB / 0.7915 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4485, allocations: 0.7969 kB / 0.7915 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.4499, allocations: 0.9825 MB / 0.7925 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4499, allocations: 1.188 kB / 0.7925 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.4501, allocations: 32.88 kB / 0.7925 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4501, allocations: 1.406 kB / 0.7925 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.4502, allocations: 7.406 kB / 0.7925 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4502, allocations: 4.906 kB / 0.7926 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4502, allocations: 1.562 kB / 0.7926 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.4507, allocations: 289.8 kB / 0.7928 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.4508, allocations: 94.7 kB / 0.7929 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.4508, allocations: 3.547 kB / 0.7929 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.451, allocations: 16.55 kB / 0.7929 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.4511, allocations: 18.16 kB / 0.793 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.4511, allocations: 4.984 kB / 0.793 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.055e-05/0.4512, allocations: 116.6 kB / 0.7931 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4512, allocations: 0 / 0.7931 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004292/0.4516, allocations: 126.7 kB / 0.7932 GB, free: 5.309 MB / 0.5606 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.001082/0.4527, allocations: 0.9511 MB / 0.7941 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004762/0.4532, allocations: 182.4 kB / 0.7943 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4532, allocations: 0 / 0.7943 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.4534, allocations: 83.03 kB / 0.7944 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.4538, allocations: 53.72 kB / 0.7944 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.4565, allocations: 2.067 MB / 0.7964 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.4569, allocations: 0.7055 MB / 0.7971 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.457, allocations: 28.42 kB / 0.7972 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.623e-05/0.4571, allocations: 43.33 kB / 0.7972 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.4571, allocations: 0 / 0.7972 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.4846, allocations: 6.08 MB / 0.8031 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/8.234, allocations: 4.688 kB / 0.8031 GB, free: 15.47 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)