Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.004524/0.004529, allocations: 95.3 kB / 15.73 MB, free: 6.484 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.001243/0.001243, allocations: 191.2 kB / 16.67 MB, free: 6.391 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002408/0.002408, allocations: 290.6 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9786/0.9786, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002568/0.002569, allocations: 100.4 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1656, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003087/0.1687, allocations: 2.008 MB / 0.7679 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002377/0.1711, allocations: 1.656 MB / 0.7695 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.1712, allocations: 8 kB / 0.7695 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.372e-05/0.1712, allocations: 15.8 kB / 0.7695 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.1713, allocations: 51.55 kB / 0.7696 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1724, allocations: 354.8 kB / 0.7699 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.1726, allocations: 219.1 kB / 0.7701 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.1728, allocations: 65.66 kB / 0.7702 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.1729, allocations: 75.83 kB / 0.7702 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.1731, allocations: 91.67 kB / 0.7703 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.1731, allocations: 16 kB / 0.7703 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008032/0.1739, allocations: 415.5 kB / 0.7707 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.174, allocations: 39.91 kB / 0.7708 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1741, allocations: 87.64 kB / 0.7709 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006284/0.1747, allocations: 434.6 kB / 0.7713 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1747, allocations: 0 / 0.7713 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1747, allocations: 0 / 0.7713 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.1748, allocations: 0 / 0.7713 GB, free: 3.41 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.000893/0.1757, allocations: 0.5218 MB / 0.7718 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1757, allocations: 11.97 kB / 0.7718 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.426e-05/0.1758, allocations: 50.73 kB / 0.7718 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005584/0.1763, allocations: 92.73 kB / 0.7719 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1765, allocations: 184.1 kB / 0.7721 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.662e-05/0.1766, allocations: 50.19 kB / 0.7722 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.1766, allocations: 20.38 kB / 0.7722 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/0.177, allocations: 179.7 kB / 0.7723 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1771, allocations: 0 / 0.7723 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.1771, allocations: 4 kB / 0.7723 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.1771, allocations: 8 kB / 0.7724 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.1775, allocations: 183.8 kB / 0.7725 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.1789, allocations: 0.915 MB / 0.7734 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.1794, allocations: 170.6 kB / 0.7736 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.1796, allocations: 76.83 kB / 0.7737 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007312/0.1804, allocations: 0.522 MB / 0.7742 GB, free: 84 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.1804, allocations: 34.56 kB / 0.7742 GB, free: 40 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.1804, allocations: 0 / 0.7742 GB, free: 40 kB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.3102/0.4906, allocations: 231.8 kB / 0.7744 GB, free: 15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.4907, allocations: 53.78 kB / 0.7745 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.4908, allocations: 158.3 kB / 0.7746 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.4908, allocations: 32.45 kB / 0.7747 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.4909, allocations: 124.6 kB / 0.7748 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.4909, allocations: 45.2 kB / 0.7748 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.491, allocations: 40.75 kB / 0.7749 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.199e-05/0.4911, allocations: 326.7 kB / 0.7752 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.4913, allocations: 70.64 kB / 0.7752 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.4915, allocations: 97.86 kB / 0.7753 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.4918, allocations: 149 kB / 0.7755 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4919, allocations: 1.75 kB / 0.7755 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004724/0.4923, allocations: 218.2 kB / 0.7757 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.4924, allocations: 6.781 kB / 0.7757 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4924, allocations: 1.578 kB / 0.7757 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4924, allocations: 1.594 kB / 0.7757 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.4926, allocations: 41.44 kB / 0.7757 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.4926, allocations: 1.625 kB / 0.7757 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.4928, allocations: 22.02 kB / 0.7758 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.4928, allocations: 9 kB / 0.7758 GB, free: 14.29 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 7.396e-05/0.4929, allocations: 128.2 kB / 0.7759 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.493, allocations: 24.38 kB / 0.7759 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.4934, allocations: 194.1 kB / 0.7761 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.4935, allocations: 2.469 kB / 0.7761 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4935, allocations: 2.125 kB / 0.7761 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4935, allocations: 2.766 kB / 0.7761 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.4947, allocations: 0.9887 MB / 0.7771 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4947, allocations: 0.9062 kB / 0.7771 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.4949, allocations: 29.28 kB / 0.7771 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4949, allocations: 1.625 kB / 0.7771 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.4949, allocations: 5.156 kB / 0.7771 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4949, allocations: 1.938 kB / 0.7771 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4949, allocations: 5.75 kB / 0.7771 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.4953, allocations: 288.1 kB / 0.7774 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.4954, allocations: 95.42 kB / 0.7775 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.4954, allocations: 3.75 kB / 0.7775 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.4956, allocations: 23.62 kB / 0.7775 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.4956, allocations: 10.25 kB / 0.7775 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.4957, allocations: 4.938 kB / 0.7775 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.025e-05/0.4957, allocations: 127.5 kB / 0.7776 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4957, allocations: 0 / 0.7776 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004301/0.4962, allocations: 133.5 kB / 0.7778 GB, free: 13 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.0008784/0.4971, allocations: 0.9502 MB / 0.7787 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004459/0.4975, allocations: 175.9 kB / 0.7789 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4975, allocations: 1.25 kB / 0.7789 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.4977, allocations: 84.06 kB / 0.7789 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.4981, allocations: 47.05 kB / 0.779 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.5004, allocations: 2.079 MB / 0.781 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.5006, allocations: 0.7069 MB / 0.7817 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.5007, allocations: 31.45 kB / 0.7817 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/0.5008, allocations: 43.25 kB / 0.7818 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.5008, allocations: 0 / 0.7818 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.5278, allocations: 6.082 MB / 0.7877 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/8.065, allocations: 10.19 kB / 0.7877 GB, free: 9.27 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_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_ZeroInput.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)