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.00454/0.00454, allocations: 94.81 kB / 15.73 MB, free: 6.043 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.001155/0.001155, allocations: 204.4 kB / 16.68 MB, free: 5.969 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.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 278.7 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8979/0.8979, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 92.27 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1631, allocations: 86.98 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00301/0.1661, allocations: 2.001 MB / 0.7679 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.1685, allocations: 1.659 MB / 0.7695 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.1686, allocations: 0 / 0.7695 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.895e-05/0.1686, allocations: 19.84 kB / 0.7695 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.1688, allocations: 47.55 kB / 0.7695 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.1698, allocations: 362.8 kB / 0.7699 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000233/0.1701, allocations: 223 kB / 0.7701 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1702, allocations: 49.75 kB / 0.7701 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1703, allocations: 83.81 kB / 0.7702 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.1705, allocations: 83.69 kB / 0.7703 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.1705, allocations: 20 kB / 0.7703 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000729/0.1713, allocations: 415.5 kB / 0.7707 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.1713, allocations: 35.91 kB / 0.7708 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.509e-05/0.1714, allocations: 91.64 kB / 0.7708 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000584/0.172, allocations: 434.5 kB / 0.7713 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.172, allocations: 3.984 kB / 0.7713 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.172, allocations: 0 / 0.7713 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.172, allocations: 7.938 kB / 0.7713 GB, free: 3.402 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.0007991/0.1728, allocations: 0.514 MB / 0.7718 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1729, allocations: 12.03 kB / 0.7718 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.1729, allocations: 46.73 kB / 0.7718 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005658/0.1735, allocations: 96.73 kB / 0.7719 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1737, allocations: 180.2 kB / 0.7721 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-05/0.1737, allocations: 50.19 kB / 0.7721 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.1738, allocations: 20.38 kB / 0.7722 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.1742, allocations: 187.1 kB / 0.7723 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1742, allocations: 0 / 0.7723 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.1743, allocations: 8 kB / 0.7723 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1743, allocations: 4 kB / 0.7723 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.1747, allocations: 188.3 kB / 0.7725 GB, free: 2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.1761, allocations: 0.9073 MB / 0.7734 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.1766, allocations: 169.8 kB / 0.7736 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.1768, allocations: 88.75 kB / 0.7737 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000643/0.1775, allocations: 0.522 MB / 0.7742 GB, free: 76 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.1775, allocations: 30.56 kB / 0.7742 GB, free: 36 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.1775, allocations: 4 kB / 0.7742 GB, free: 32 kB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.3325/0.5101, allocations: 228 kB / 0.7744 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.5101, allocations: 53.56 kB / 0.7745 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.5103, allocations: 159 kB / 0.7746 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.5103, allocations: 28.06 kB / 0.7746 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.5104, allocations: 121.3 kB / 0.7748 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.5104, allocations: 46.75 kB / 0.7748 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.89e-05/0.5105, allocations: 45.92 kB / 0.7748 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.889e-05/0.5106, allocations: 321.7 kB / 0.7752 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.5108, allocations: 75.52 kB / 0.7752 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.511, allocations: 94.31 kB / 0.7753 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.5115, allocations: 154.6 kB / 0.7755 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.5115, allocations: 1.25 kB / 0.7755 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004893/0.512, allocations: 215.7 kB / 0.7757 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.512, allocations: 13.8 kB / 0.7757 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.512, allocations: 0 / 0.7757 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.512, allocations: 1.969 kB / 0.7757 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.5123, allocations: 36.47 kB / 0.7757 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5123, allocations: 1.938 kB / 0.7757 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.5125, allocations: 26.91 kB / 0.7757 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.5125, allocations: 6.328 kB / 0.7758 GB, free: 14.26 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 8.613e-05/0.5126, allocations: 129.1 kB / 0.7759 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.5127, allocations: 20.36 kB / 0.7759 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/0.5132, allocations: 197.7 kB / 0.7761 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5132, allocations: 2.625 kB / 0.7761 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5132, allocations: 1.484 kB / 0.7761 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5132, allocations: 1.234 kB / 0.7761 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.5145, allocations: 0.9835 MB / 0.7771 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5146, allocations: 0.9375 kB / 0.7771 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.5148, allocations: 32.75 kB / 0.7771 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5148, allocations: 1.812 kB / 0.7771 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.5148, allocations: 2.641 kB / 0.7771 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5148, allocations: 6.5 kB / 0.7771 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5148, allocations: 6.438 kB / 0.7771 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.5153, allocations: 283.1 kB / 0.7774 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.5153, allocations: 95.14 kB / 0.7775 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.5154, allocations: 10.75 kB / 0.7775 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.5156, allocations: 12.98 kB / 0.7775 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.5156, allocations: 11.45 kB / 0.7775 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.5156, allocations: 6.094 kB / 0.7775 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.478e-05/0.5157, allocations: 123.3 kB / 0.7776 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5157, allocations: 1.594 kB / 0.7776 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000461/0.5162, allocations: 134.4 kB / 0.7777 GB, free: 12.98 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.0009248/0.5171, allocations: 0.9501 MB / 0.7787 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.5176, allocations: 175.7 kB / 0.7788 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.5176, allocations: 0.5938 kB / 0.7788 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.5178, allocations: 89.73 kB / 0.7789 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.5183, allocations: 45.72 kB / 0.779 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.5207, allocations: 2.062 MB / 0.781 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.5208, allocations: 0.7112 MB / 0.7817 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001423/0.521, allocations: 30.34 kB / 0.7817 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.004e-05/0.5211, allocations: 42.45 kB / 0.7818 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.5211, allocations: 5.219 kB / 0.7818 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.5432, allocations: 6.054 MB / 0.7877 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/7.734, allocations: 12.75 kB / 0.7877 GB, free: 9.254 MB / 0.5606 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)