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.005272/0.005272, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001431/0.001432, allocations: 194.9 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002509/0.002509, allocations: 282.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9646/0.9646, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 95.84 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.382, allocations: 86.98 MB / 0.7659 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003203/0.3852, allocations: 2.003 MB / 0.7679 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002328/0.3876, allocations: 1.66 MB / 0.7695 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.3877, allocations: 4 kB / 0.7695 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.536e-05/0.3877, allocations: 19.73 kB / 0.7695 GB, free: 132 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.3878, allocations: 55.55 kB / 0.7696 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009032/0.3888, allocations: 354.8 kB / 0.7699 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.389, allocations: 227 kB / 0.7701 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3891, allocations: 53.27 kB / 0.7702 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.706e-05/0.3892, allocations: 79.83 kB / 0.7702 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.3894, allocations: 87.67 kB / 0.7703 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.3894, allocations: 20 kB / 0.7703 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007434/0.3902, allocations: 415.5 kB / 0.7707 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.3902, allocations: 35.91 kB / 0.7708 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.029e-05/0.3903, allocations: 91.64 kB / 0.7709 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005716/0.3909, allocations: 431.9 kB / 0.7713 GB, free: 14.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3909, allocations: 0 / 0.7713 GB, free: 14.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3909, allocations: 3.938 kB / 0.7713 GB, free: 14.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.3909, allocations: 0 / 0.7713 GB, free: 14.32 MB / 0.545 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.0008069/0.3918, allocations: 0.5218 MB / 0.7718 GB, free: 13.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.3918, allocations: 8.031 kB / 0.7718 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.037e-05/0.3919, allocations: 46.73 kB / 0.7718 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005299/0.3924, allocations: 96.73 kB / 0.7719 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.3925, allocations: 176.2 kB / 0.7721 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-05/0.3926, allocations: 50.25 kB / 0.7721 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.3927, allocations: 16.38 kB / 0.7722 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004077/0.3931, allocations: 177.9 kB / 0.7723 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.3931, allocations: 4 kB / 0.7723 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.3931, allocations: 7.984 kB / 0.7723 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3931, allocations: 8 kB / 0.7724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000455/0.3936, allocations: 187.8 kB / 0.7725 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.395, allocations: 0.9149 MB / 0.7734 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/0.3955, allocations: 174.6 kB / 0.7736 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.3957, allocations: 76.83 kB / 0.7737 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006635/0.3964, allocations: 0.5181 MB / 0.7742 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.3964, allocations: 38.5 kB / 0.7742 GB, free: 10.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.3965, allocations: 0 / 0.7742 GB, free: 10.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006882/0.3971, allocations: 235.5 kB / 0.7744 GB, free: 10.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.3972, allocations: 51.41 kB / 0.7745 GB, free: 10.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3973, allocations: 157.5 kB / 0.7746 GB, free: 10.49 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.3974, allocations: 37.64 kB / 0.7747 GB, free: 10.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.3975, allocations: 123.9 kB / 0.7748 GB, free: 10.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.3975, allocations: 47.56 kB / 0.7748 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.3976, allocations: 41.66 kB / 0.7749 GB, free: 10.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3977, allocations: 322.8 kB / 0.7752 GB, free: 9.902 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.3979, allocations: 71.97 kB / 0.7752 GB, free: 9.832 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.3982, allocations: 105.6 kB / 0.7753 GB, free: 9.723 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.3985, allocations: 143.9 kB / 0.7755 GB, free: 9.578 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3985, allocations: 0 / 0.7755 GB, free: 9.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005094/0.3991, allocations: 219.5 kB / 0.7757 GB, free: 9.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3991, allocations: 8 kB / 0.7757 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3991, allocations: 0 / 0.7757 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3991, allocations: 0 / 0.7757 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.3993, allocations: 35.97 kB / 0.7757 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3994, allocations: 4 kB / 0.7757 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.3995, allocations: 27.86 kB / 0.7758 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.3996, allocations: 4 kB / 0.7758 GB, free: 9.281 MB / 0.545 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.0001162/0.3997, allocations: 140.1 kB / 0.7759 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.3997, allocations: 15.91 kB / 0.7759 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005285/0.4003, allocations: 198.4 kB / 0.7761 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4003, allocations: 4 kB / 0.7761 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4003, allocations: 4 kB / 0.7761 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4003, allocations: 0 / 0.7761 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.4017, allocations: 0.9779 MB / 0.7771 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4017, allocations: 0 / 0.7771 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.4019, allocations: 31.97 kB / 0.7771 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4019, allocations: 0 / 0.7771 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.402, allocations: 0 / 0.7771 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.402, allocations: 4 kB / 0.7771 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.402, allocations: 3.938 kB / 0.7771 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/0.4025, allocations: 300 kB / 0.7774 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.4025, allocations: 89.02 kB / 0.7775 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.4026, allocations: 12 kB / 0.7775 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.4028, allocations: 11.98 kB / 0.7775 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.4028, allocations: 19.92 kB / 0.7775 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.4028, allocations: 7.984 kB / 0.7775 GB, free: 7.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.638e-05/0.4029, allocations: 115.3 kB / 0.7776 GB, free: 7.156 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4029, allocations: 0 / 0.7776 GB, free: 7.156 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004096/0.4034, allocations: 131.5 kB / 0.7778 GB, free: 7.027 MB / 0.545 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.001076/0.4044, allocations: 0.9401 MB / 0.7787 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004804/0.4049, allocations: 183.7 kB / 0.7789 GB, free: 5.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4049, allocations: 0 / 0.7789 GB, free: 5.875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.4052, allocations: 88.02 kB / 0.7789 GB, free: 5.789 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.4056, allocations: 43.91 kB / 0.779 GB, free: 5.746 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.4084, allocations: 2.063 MB / 0.781 GB, free: 3.586 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.4087, allocations: 0.7164 MB / 0.7817 GB, free: 2.844 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.4089, allocations: 34.41 kB / 0.7817 GB, free: 2.812 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.409, allocations: 39.42 kB / 0.7818 GB, free: 2.773 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.409, allocations: 0 / 0.7818 GB, free: 2.773 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.4345, allocations: 6.05 MB / 0.7877 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/7.998, allocations: 16.48 kB / 0.7877 GB, free: 12.9 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)